共用方式為


DataConnectionProperties.ICustomTypeDescriptor.GetEditor 方法

擷取指定型別的編輯器這個物件的。

命名空間:  Microsoft.VisualStudio.Data
組件:  Microsoft.VisualStudio.Data (在 Microsoft.VisualStudio.Data.dll 中)

語法

'宣告
Private Function GetEditor ( _
    editorBaseType As Type _
) As Object Implements ICustomTypeDescriptor.GetEditor
Object ICustomTypeDescriptor.GetEditor(
    Type editorBaseType
)
private:
virtual Object^ GetEditor(
    Type^ editorBaseType
) sealed = ICustomTypeDescriptor::GetEditor
private abstract GetEditor : 
        editorBaseType:Type -> Object  
private override GetEditor : 
        editorBaseType:Type -> Object
JScript 不支援明確介面實作。

參數

  • editorBaseType
    類型:Type

    Managed 表示這個物件的 Type 編輯器。

傳回值

類型:Object
傳回與這個物件的編輯器所指定型別的物件,則傳回 nullnull 參考 (即 Visual Basic 中的 Nothing) ,如果找不到編輯器。

實作

ICustomTypeDescriptor.GetEditor(Type)

備註

這個方法 ICustomTypeDescriptor.GetEditor(System.Type) 提供方法的實作。 如需詳細資訊 .NET Framework 在類別庫中看到 GetEditor 方法。

.NET Framework 安全性

請參閱

參考

DataConnectionProperties 類別

Microsoft.VisualStudio.Data 命名空間