CategoryEditor.CreateEditorAttribute 方法 (CategoryEditor)
可为指定的 CategoryEditor 创建新的 EditorAttribute 的实用工具方法。
命名空间: Microsoft.Windows.Design.PropertyEditing
程序集: Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)
语法
声明
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
参数
- editor
类型:Microsoft.Windows.Design.PropertyEditing.CategoryEditor
CategoryEditor 实例,将为其创建新 EditorAttribute。
返回值
类型:System.ComponentModel.EditorAttribute
指定的 CategoryEditor 的新 EditorAttribute。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。
请参见
参考
Microsoft.Windows.Design.PropertyEditing 命名空间