Edit

Share via


CodeTypeOfExpression Constructors

Definition

Initializes a new instance of the CodeTypeOfExpression class.

Overloads

CodeTypeOfExpression()

Initializes a new instance of the CodeTypeOfExpression class.

CodeTypeOfExpression(CodeTypeReference)

Initializes a new instance of the CodeTypeOfExpression class.

CodeTypeOfExpression(String)

Initializes a new instance of the CodeTypeOfExpression class using the specified type.

CodeTypeOfExpression(Type)

Initializes a new instance of the CodeTypeOfExpression class using the specified type.

CodeTypeOfExpression()

Source:
CodeTypeOfExpression.cs
Source:
CodeTypeOfExpression.cs

Initializes a new instance of the CodeTypeOfExpression class.

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

Applies to

CodeTypeOfExpression(CodeTypeReference)

Source:
CodeTypeOfExpression.cs
Source:
CodeTypeOfExpression.cs

Initializes a new instance of the CodeTypeOfExpression class.

public:
 CodeTypeOfExpression(System::CodeDom::CodeTypeReference ^ type);
public CodeTypeOfExpression (System.CodeDom.CodeTypeReference type);
new System.CodeDom.CodeTypeOfExpression : System.CodeDom.CodeTypeReference -> System.CodeDom.CodeTypeOfExpression
Public Sub New (type As CodeTypeReference)

Parameters

type
CodeTypeReference

A CodeTypeReference that indicates the data type for the typeof expression.

Applies to

CodeTypeOfExpression(String)

Source:
CodeTypeOfExpression.cs
Source:
CodeTypeOfExpression.cs

Initializes a new instance of the CodeTypeOfExpression class using the specified type.

public:
 CodeTypeOfExpression(System::String ^ type);
public CodeTypeOfExpression (string type);
new System.CodeDom.CodeTypeOfExpression : string -> System.CodeDom.CodeTypeOfExpression
Public Sub New (type As String)

Parameters

type
String

The name of the data type for the typeof expression.

Applies to

CodeTypeOfExpression(Type)

Source:
CodeTypeOfExpression.cs
Source:
CodeTypeOfExpression.cs

Initializes a new instance of the CodeTypeOfExpression class using the specified type.

public:
 CodeTypeOfExpression(Type ^ type);
public CodeTypeOfExpression (Type type);
new System.CodeDom.CodeTypeOfExpression : Type -> System.CodeDom.CodeTypeOfExpression
Public Sub New (type As Type)

Parameters

type
Type

The data type of the data type of the typeof expression.

Applies to