检索类型定义命名类型名称和数据源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
参数
- source
类型:System.Guid
DDEX数据源GUID。
- typeName
类型:System.String
检索的程序集的名称。
返回值
类型:System.Type
类型定义。
实现
IVsDataSourceSpecializer.GetType(Guid, String)
备注
此方法允许DDEX提供自定义动态位置引用类型的分辨率如XML文件。
对继承者的说明
此方法的基实现返回 nullnull 引用(在 Visual Basic 中为 Nothing)。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。