DataViewBrowseObject.GetEditor 方法

检索具有指定的基类型的一个编辑器,并为当前浏览对象。

命名空间:  Microsoft.VisualStudio.Data.Framework
程序集:  Microsoft.VisualStudio.Data.Framework(在 Microsoft.VisualStudio.Data.Framework.dll 中)

语法

声明
Public Overridable Function GetEditor ( _
    editorBaseType As Type _
) As Object
public virtual Object GetEditor(
    Type editorBaseType
)
public:
virtual Object^ GetEditor(
    Type^ editorBaseType
)
abstract GetEditor : 
        editorBaseType:Type -> Object 
override GetEditor : 
        editorBaseType:Type -> Object 
public function GetEditor(
    editorBaseType : Type
) : Object

参数

  • editorBaseType
    类型:System.Type
    表示编辑器访问的基类型 Type

返回值

类型:System.Object
可被强制转换为指定编辑器类型的编辑器的一个实例,如果找不到请求类型的编辑器,则为 nullnull 引用(在 Visual Basic 中为 Nothing)。

实现

ICustomTypeDescriptor.GetEditor(Type)

.NET Framework 安全性

请参见

参考

DataViewBrowseObject 类

Microsoft.VisualStudio.Data.Framework 命名空间