DbConnectionStringBuilder.ICustomTypeDescriptor.GetEditor(Type) 方法

定義

傳回這個元件實例之指定型別的編輯器。

 virtual System::Object ^ System.ComponentModel.ICustomTypeDescriptor.GetEditor(Type ^ editorBaseType) = System::ComponentModel::ICustomTypeDescriptor::GetEditor;
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Design-time attributes are not preserved when trimming. Types referenced by attributes like EditorAttribute and DesignerAttribute may not be available after trimming.")]
object ICustomTypeDescriptor.GetEditor(Type editorBaseType);
object ICustomTypeDescriptor.GetEditor(Type editorBaseType);
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Editors registered in TypeDescriptor.AddEditorTable may be trimmed.")]
object ICustomTypeDescriptor.GetEditor(Type editorBaseType);
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Design-time attributes are not preserved when trimming. Types referenced by attributes like EditorAttribute and DesignerAttribute may not be available after trimming.")>]
abstract member System.ComponentModel.ICustomTypeDescriptor.GetEditor : Type -> obj
override this.System.ComponentModel.ICustomTypeDescriptor.GetEditor : Type -> obj
abstract member System.ComponentModel.ICustomTypeDescriptor.GetEditor : Type -> obj
override this.System.ComponentModel.ICustomTypeDescriptor.GetEditor : Type -> obj
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("Editors registered in TypeDescriptor.AddEditorTable may be trimmed.")>]
abstract member System.ComponentModel.ICustomTypeDescriptor.GetEditor : Type -> obj
override this.System.ComponentModel.ICustomTypeDescriptor.GetEditor : Type -> obj
Function GetEditor (editorBaseType As Type) As Object Implements ICustomTypeDescriptor.GetEditor

參數

editorBaseType
Type

Type A 代表該物件的編輯器。

傳回

Object該物件的編輯器類型中,或若找不到編輯器,則為該物件null的編輯器。

實作

屬性

備註

此成員為明確介面成員實作。 它只能在實 DbConnectionStringBuilder 例投射到 ICustomTypeDescriptor 介面時使用。

如需詳細資訊,請參閱GetEditor

適用於

另請參閱