PropertyValueEditor.CreateEditorAttribute – metoda (Type)
Nástroj pro metodu, která vytvoří nový EditorAttribute pro zadané PropertyValueEditor typu.
Obor názvů: Microsoft.Windows.Design.PropertyEditing
Sestavení: Microsoft.Windows.Design.Interaction (v Microsoft.Windows.Design.Interaction.dll)
Syntaxe
'Deklarace
Public Shared Function CreateEditorAttribute ( _
propertyValueEditorType As Type _
) As EditorAttribute
public static EditorAttribute CreateEditorAttribute(
Type propertyValueEditorType
)
public:
static EditorAttribute^ CreateEditorAttribute(
Type^ propertyValueEditorType
)
static member CreateEditorAttribute :
propertyValueEditorType:Type -> EditorAttribute
public static function CreateEditorAttribute(
propertyValueEditorType : Type
) : EditorAttribute
Parametry
- propertyValueEditorType
Typ: System.Type
PropertyValueEditor typ, pro který chcete vytvořit nový EditorAttribute.
Vrácená hodnota
Typ: System.ComponentModel.EditorAttribute
Nový EditorAttribute pro zadané PropertyValueEditor typu.
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.
Viz také
Odkaz
CreateEditorAttribute – přetížení
Microsoft.Windows.Design.PropertyEditing – obor názvů