PropertyValueEditor.CreateEditorAttribute-Methode (Type)
Hilfsmethode, die ein neues EditorAttribute für den angegebenen PropertyValueEditor-Typ erstellt.
Namespace: Microsoft.Windows.Design.PropertyEditing
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
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
Parameter
- propertyValueEditorType
Typ: System.Type
PropertyValueEditor-Typ, für den das neue EditorAttribute erstellt werden soll.
Rückgabewert
Typ: System.ComponentModel.EditorAttribute
Ein neues EditorAttribute für den angegebenen PropertyValueEditor-Typ.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.
Siehe auch
Referenz
CreateEditorAttribute-Überladung
Microsoft.Windows.Design.PropertyEditing-Namespace