Читати англійською Редагувати

Поділитися через


ExpressionEditorAttribute Constructors

Definition

Initializes a new instance of the ExpressionEditorAttribute class.

Overloads

ExpressionEditorAttribute(String)

Initializes a new instance of the ExpressionEditorAttribute class using the specified type name.

ExpressionEditorAttribute(Type)

Initializes a new instance of the ExpressionEditorAttribute class using the specified type object.

Remarks

Use the ExpressionEditor constructor to initialize an empty instance of the ExpressionEditorAttribute class. To initialize the ExpressionEditorAttribute class using a type object, use the ExpressionEditorAttribute constructor. To initialize the ExpressionEditorAttribute class using a type name, use the ExpressionEditorAttribute constructor.

ExpressionEditorAttribute(String)

Initializes a new instance of the ExpressionEditorAttribute class using the specified type name.

C#
public ExpressionEditorAttribute(string typeName);

Parameters

typeName
String

The name of the type to associate with the ExpressionEditor.

Exceptions

typeName is null (Nothing in Visual Basic).

Remarks

Use the ExpressionEditorAttribute constructor to initialize an instance of the ExpressionEditorAttribute class using a type name. To initialize the ExpressionEditorAttribute class using a type object, use the ExpressionEditorAttribute constructor.

Applies to

.NET Framework 4.8.1 та інші версії
Продукт Версії
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

ExpressionEditorAttribute(Type)

Initializes a new instance of the ExpressionEditorAttribute class using the specified type object.

C#
public ExpressionEditorAttribute(Type type);

Parameters

type
Type

The type reference to associate with the ExpressionEditor.

Remarks

Use the ExpressionEditorAttribute constructor to initialize an instance of the ExpressionEditorAttribute class using a type object. To initialize the ExpressionEditorAttribute class using a type name, use the ExpressionEditorAttribute constructor.

Applies to

.NET Framework 4.8.1 та інші версії
Продукт Версії
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1