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 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應