mscorlib(4.0.0.0) API with additions
CodeNamespaceImport.cs
2 
3 namespace System.CodeDom
4 {
7  [ClassInterface(ClassInterfaceType.AutoDispatch)]
8  [ComVisible(true)]
10  {
11  private string nameSpace;
12 
13  private CodeLinePragma linePragma;
14 
18  {
19  get
20  {
21  return linePragma;
22  }
23  set
24  {
25  linePragma = value;
26  }
27  }
28 
31  public string Namespace
32  {
33  get
34  {
35  if (nameSpace != null)
36  {
37  return nameSpace;
38  }
39  return string.Empty;
40  }
41  set
42  {
43  nameSpace = value;
44  }
45  }
46 
49  {
50  }
51 
54  public CodeNamespaceImport(string nameSpace)
55  {
56  Namespace = nameSpace;
57  }
58  }
59 }
CodeNamespaceImport()
Initializes a new instance of the T:System.CodeDom.CodeNamespaceImport class.
Represents a namespace import directive that indicates a namespace to use.
Definition: __Canon.cs:3
CodeNamespaceImport(string nameSpace)
Initializes a new instance of the T:System.CodeDom.CodeNamespaceImport class using the specified name...
CodeLinePragma LinePragma
Gets or sets the line and file the statement occurs on.
Specifies that the class can be serialized.
ClassInterfaceType
Identifies the type of class interface that is generated for a class.
string Namespace
Gets or sets the namespace to import.
Represents a specific location within a specific file.
Provides a common base class for most Code Document Object Model (CodeDOM) objects.
Definition: CodeObject.cs:11