mscorlib(4.0.0.0) API with additions
CodeAttributeArgument.cs
2 
3 namespace System.CodeDom
4 {
7  [ClassInterface(ClassInterfaceType.AutoDispatch)]
8  [ComVisible(true)]
9  public class CodeAttributeArgument
10  {
11  private string name;
12 
13  private CodeExpression value;
14 
17  public string Name
18  {
19  get
20  {
21  if (name != null)
22  {
23  return name;
24  }
25  return string.Empty;
26  }
27  set
28  {
29  name = value;
30  }
31  }
32 
35  public CodeExpression Value
36  {
37  get
38  {
39  return value;
40  }
41  set
42  {
43  this.value = value;
44  }
45  }
46 
49  {
50  }
51 
55  {
56  Value = value;
57  }
58 
62  public CodeAttributeArgument(string name, CodeExpression value)
63  {
64  Name = name;
65  Value = value;
66  }
67  }
68 }
CodeAttributeArgument(string name, CodeExpression value)
Initializes a new instance of the T:System.CodeDom.CodeAttributeArgument class using the specified na...
Definition: __Canon.cs:3
Represents an argument used in a metadata attribute declaration.
CodeAttributeArgument()
Initializes a new instance of the T:System.CodeDom.CodeAttributeArgument class.
string Name
Gets or sets the name of the attribute.
CodeExpression Value
Gets or sets the value for the attribute argument.
Represents a code expression. This is a base class for other code expression objects that is never in...
Specifies that the class can be serialized.
CodeAttributeArgument(CodeExpression value)
Initializes a new instance of the T:System.CodeDom.CodeAttributeArgument class using the specified va...
ClassInterfaceType
Identifies the type of class interface that is generated for a class.