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.
Applies to
.NET
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기