DataSourceSpecializer.GetType 方法 (Guid, String)

检索类型定义命名类型名称和数据源GUID。

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

语法

声明
Public Overridable Function GetType ( _
    source As Guid, _
    typeName As String _
) As Type
public virtual Type GetType(
    Guid source,
    string typeName
)
public:
virtual Type^ GetType(
    Guid source, 
    String^ typeName
)
abstract GetType : 
        source:Guid * 
        typeName:string -> Type 
override GetType : 
        source:Guid * 
        typeName:string -> Type 
public function GetType(
    source : Guid, 
    typeName : String
) : Type

参数

返回值

类型:System.Type
类型定义。

实现

IVsDataSourceSpecializer.GetType(Guid, String)

备注

此方法允许DDEX提供自定义动态位置引用类型的分辨率如XML文件。

对继承者的说明

此方法的基实现返回 nullnull 引用(在 Visual Basic 中为 Nothing)。

.NET Framework 安全性

请参见

参考

DataSourceSpecializer 类

GetType 重载

Microsoft.VisualStudio.Data.Framework 命名空间