ICustomTypeDescriptor.GetEditor(Type) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回元件的這個執行個體之指定類型編輯器。
public:
System::Object ^ GetEditor(Type ^ editorBaseType);
public object GetEditor (Type editorBaseType);
public object? GetEditor (Type editorBaseType);
abstract member GetEditor : Type -> obj
Public Function GetEditor (editorBaseType As Type) As Object
參數
傳回
為此物件之編輯器的指定類型 Object,如果找不到編輯器,則為 null
。
備註
參數的類型 editorBaseType
通常是 UITypeEditor,但您也可以使用其他類型的 (, ComponentEditor 例如和 InstanceCreationEditor) 。