CodeAttributeArgument Constructors

Definition

Initializes a new instance of the CodeAttributeArgument class.

Overloads

CodeAttributeArgument()

Initializes a new instance of the CodeAttributeArgument class.

CodeAttributeArgument(CodeExpression)

Initializes a new instance of the CodeAttributeArgument class using the specified value.

CodeAttributeArgument(String, CodeExpression)

Initializes a new instance of the CodeAttributeArgument class using the specified name and value.

CodeAttributeArgument()

Source:
CodeAttributeArgument.cs
Source:
CodeAttributeArgument.cs
Source:
CodeAttributeArgument.cs
Source:
CodeAttributeArgument.cs

Initializes a new instance of the CodeAttributeArgument class.

public:
 CodeAttributeArgument();
public CodeAttributeArgument ();
Public Sub New ()

Applies to

CodeAttributeArgument(CodeExpression)

Source:
CodeAttributeArgument.cs
Source:
CodeAttributeArgument.cs
Source:
CodeAttributeArgument.cs
Source:
CodeAttributeArgument.cs

Initializes a new instance of the CodeAttributeArgument class using the specified value.

public:
 CodeAttributeArgument(System::CodeDom::CodeExpression ^ value);
public CodeAttributeArgument (System.CodeDom.CodeExpression value);
new System.CodeDom.CodeAttributeArgument : System.CodeDom.CodeExpression -> System.CodeDom.CodeAttributeArgument
Public Sub New (value As CodeExpression)

Parameters

value
CodeExpression

A CodeExpression that represents the value of the argument.

See also

Applies to

CodeAttributeArgument(String, CodeExpression)

Source:
CodeAttributeArgument.cs
Source:
CodeAttributeArgument.cs
Source:
CodeAttributeArgument.cs
Source:
CodeAttributeArgument.cs

Initializes a new instance of the CodeAttributeArgument class using the specified name and value.

public:
 CodeAttributeArgument(System::String ^ name, System::CodeDom::CodeExpression ^ value);
public CodeAttributeArgument (string name, System.CodeDom.CodeExpression value);
new System.CodeDom.CodeAttributeArgument : string * System.CodeDom.CodeExpression -> System.CodeDom.CodeAttributeArgument
Public Sub New (name As String, value As CodeExpression)

Parameters

name
String

The name of the attribute property the argument applies to.

value
CodeExpression

A CodeExpression that represents the value of the argument.

See also

Applies to