CategoryEditor.CreateEditorAttribute 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
為指定的 EditorAttribute建立一個新 CategoryEditor 。
多載
| 名稱 | Description |
|---|---|
| CreateEditorAttribute(CategoryEditor) |
為指定的 EditorAttribute建立一個新 CategoryEditor 。 |
| CreateEditorAttribute(Type) |
為指定EditorAttribute型別建立一個新檔案CategoryEditor。 |
CreateEditorAttribute(CategoryEditor)
為指定的 EditorAttribute建立一個新 CategoryEditor 。
public:
static System::ComponentModel::EditorAttribute ^ CreateEditorAttribute(System::Activities::Presentation::PropertyEditing::CategoryEditor ^ editor);
public static System.ComponentModel.EditorAttribute CreateEditorAttribute(System.Activities.Presentation.PropertyEditing.CategoryEditor editor);
static member CreateEditorAttribute : System.Activities.Presentation.PropertyEditing.CategoryEditor -> System.ComponentModel.EditorAttribute
Public Shared Function CreateEditorAttribute (editor As CategoryEditor) As EditorAttribute
參數
- editor
- CategoryEditor
為了 CategoryEditor 建立一個新的 EditorAttribute。
傳回
新的 EditorAttribute。
適用於
CreateEditorAttribute(Type)
為指定EditorAttribute型別建立一個新檔案CategoryEditor。
public:
static System::ComponentModel::EditorAttribute ^ CreateEditorAttribute(Type ^ categoryEditorType);
public static System.ComponentModel.EditorAttribute CreateEditorAttribute(Type categoryEditorType);
static member CreateEditorAttribute : Type -> System.ComponentModel.EditorAttribute
Public Shared Function CreateEditorAttribute (categoryEditorType As Type) As EditorAttribute
參數
- categoryEditorType
- Type
CategoryEditor建立新 EditorAttribute的類型。
傳回
新的 EditorAttribute。