ExpressionEditorAttribute 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 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.
public:
ExpressionEditorAttribute(System::String ^ typeName);
public ExpressionEditorAttribute (string typeName);
new System.Web.Compilation.ExpressionEditorAttribute : string -> System.Web.Compilation.ExpressionEditorAttribute
Public Sub New (typeName As String)
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
ExpressionEditorAttribute(Type)
Initializes a new instance of the ExpressionEditorAttribute class using the specified type object.
public:
ExpressionEditorAttribute(Type ^ type);
public ExpressionEditorAttribute (Type type);
new System.Web.Compilation.ExpressionEditorAttribute : Type -> System.Web.Compilation.ExpressionEditorAttribute
Public Sub New (type As 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.