CodeObjectCreateExpression 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 CodeObjectCreateExpression class.
Overloads
CodeObjectCreateExpression() |
Initializes a new instance of the CodeObjectCreateExpression class. |
CodeObjectCreateExpression(CodeTypeReference, CodeExpression[]) |
Initializes a new instance of the CodeObjectCreateExpression class using the specified type and parameters. |
CodeObjectCreateExpression(String, CodeExpression[]) |
Initializes a new instance of the CodeObjectCreateExpression class using the specified type and parameters. |
CodeObjectCreateExpression(Type, CodeExpression[]) |
Initializes a new instance of the CodeObjectCreateExpression class using the specified type and parameters. |
CodeObjectCreateExpression()
Initializes a new instance of the CodeObjectCreateExpression class.
public:
CodeObjectCreateExpression();
public CodeObjectCreateExpression ();
Public Sub New ()
Applies to
CodeObjectCreateExpression(CodeTypeReference, CodeExpression[])
Initializes a new instance of the CodeObjectCreateExpression class using the specified type and parameters.
public:
CodeObjectCreateExpression(System::CodeDom::CodeTypeReference ^ createType, ... cli::array <System::CodeDom::CodeExpression ^> ^ parameters);
public CodeObjectCreateExpression (System.CodeDom.CodeTypeReference createType, params System.CodeDom.CodeExpression[] parameters);
new System.CodeDom.CodeObjectCreateExpression : System.CodeDom.CodeTypeReference * System.CodeDom.CodeExpression[] -> System.CodeDom.CodeObjectCreateExpression
Public Sub New (createType As CodeTypeReference, ParamArray parameters As CodeExpression())
Parameters
- createType
- CodeTypeReference
A CodeTypeReference that indicates the data type of the object to create.
- parameters
- CodeExpression[]
An array of CodeExpression objects that indicates the parameters to use to create the object.
See also
Applies to
CodeObjectCreateExpression(String, CodeExpression[])
Initializes a new instance of the CodeObjectCreateExpression class using the specified type and parameters.
public:
CodeObjectCreateExpression(System::String ^ createType, ... cli::array <System::CodeDom::CodeExpression ^> ^ parameters);
public CodeObjectCreateExpression (string createType, params System.CodeDom.CodeExpression[] parameters);
new System.CodeDom.CodeObjectCreateExpression : string * System.CodeDom.CodeExpression[] -> System.CodeDom.CodeObjectCreateExpression
Public Sub New (createType As String, ParamArray parameters As CodeExpression())
Parameters
- createType
- String
The name of the data type of object to create.
- parameters
- CodeExpression[]
An array of CodeExpression objects that indicates the parameters to use to create the object.
Applies to
CodeObjectCreateExpression(Type, CodeExpression[])
Initializes a new instance of the CodeObjectCreateExpression class using the specified type and parameters.
public:
CodeObjectCreateExpression(Type ^ createType, ... cli::array <System::CodeDom::CodeExpression ^> ^ parameters);
public CodeObjectCreateExpression (Type createType, params System.CodeDom.CodeExpression[] parameters);
new System.CodeDom.CodeObjectCreateExpression : Type * System.CodeDom.CodeExpression[] -> System.CodeDom.CodeObjectCreateExpression
Public Sub New (createType As Type, ParamArray parameters As CodeExpression())
Parameters
- createType
- Type
The data type of the object to create.
- parameters
- CodeExpression[]
An array of CodeExpression objects that indicates the parameters to use to create the object.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈