CodeAttributeArgument Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈