CategoryEditor.CreateEditorAttribute, méthode (CategoryEditor)
Méthode utilitaire qui crée EditorAttribute pour le CategoryEditor spécifié.
Espace de noms : Microsoft.Windows.Design.PropertyEditing
Assembly : Microsoft.Windows.Design.Interaction (dans Microsoft.Windows.Design.Interaction.dll)
Syntaxe
'Déclaration
Public Shared Function CreateEditorAttribute ( _
editor As CategoryEditor _
) As EditorAttribute
public static EditorAttribute CreateEditorAttribute(
CategoryEditor editor
)
public:
static EditorAttribute^ CreateEditorAttribute(
CategoryEditor^ editor
)
static member CreateEditorAttribute :
editor:CategoryEditor -> EditorAttribute
public static function CreateEditorAttribute(
editor : CategoryEditor
) : EditorAttribute
Paramètres
- editor
Type : Microsoft.Windows.Design.PropertyEditing.CategoryEditor
Instance de CategoryEditor pour laquelle le EditorAttribute doit être créé.
Valeur de retour
Type : System.ComponentModel.EditorAttribute
Nouveau EditorAttribute pour le CategoryEditor spécifié.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.
Voir aussi
Référence
CreateEditorAttribute, surcharge
Microsoft.Windows.Design.PropertyEditing, espace de noms