CategoryEditor.CreateEditorAttribute - метод (Type)
Служебный метод, предназначенный для создания объекта EditorAttribute для заданного типа CategoryEditor.
Пространство имен: Microsoft.Windows.Design.PropertyEditing
Сборка: Microsoft.Windows.Design.Interaction (в Microsoft.Windows.Design.Interaction.dll)
Синтаксис
'Декларация
Public Shared Function CreateEditorAttribute ( _
categoryEditorType As Type _
) As EditorAttribute
public static EditorAttribute CreateEditorAttribute(
Type categoryEditorType
)
public:
static EditorAttribute^ CreateEditorAttribute(
Type^ categoryEditorType
)
static member CreateEditorAttribute :
categoryEditorType:Type -> EditorAttribute
public static function CreateEditorAttribute(
categoryEditorType : Type
) : EditorAttribute
Параметры
- categoryEditorType
Тип: System.Type
Тип CategoryEditor, для которого создается объект EditorAttribute.
Возвращаемое значение
Тип: System.ComponentModel.EditorAttribute
Новый объект EditorAttribute для заданного типа CategoryEditor.
Безопасность платформы .NET Framework
- Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Использование библиотек из не вполне надежного кода.
См. также
Ссылки
CreateEditorAttribute - перегрузка
Microsoft.Windows.Design.PropertyEditing - пространство имен