ITypeReflector.GetDotNetType 方法 (Microsoft.Office.Server.ApplicationRegistry.Infrastructure)

Returns the actual .NET Type of the TypeDescriptor object.

命名空间: Microsoft.Office.Server.ApplicationRegistry.Infrastructure
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)

语法

声明
Function GetDotNetType ( _
    typeDescriptor As TypeDescriptor _
) As Type
用法
Dim instance As ITypeReflector
Dim typeDescriptor As TypeDescriptor
Dim returnValue As Type

returnValue = instance.GetDotNetType(typeDescriptor)
Type GetDotNetType (
    TypeDescriptor typeDescriptor
)

参数

  • typeDescriptor
    A TypeDescriptor object.

返回值

A .NET Type.

备注

A TypeDescriptor object describes an abstract data type in some type system. However, before the method can be invoked, the abstract type in some type system must resolve to a real .NET Type. For example, to create a Microsoft ADO.NET DataTable object, the Business Data Catalog must know the .NET Types for the columns. All TypeReflectors must be able to extract a .NET Type from a TypeDescriptor object, and this method provides that functionality.

另请参阅

参考

ITypeReflector 接口
ITypeReflector 成员
Microsoft.Office.Server.ApplicationRegistry.Infrastructure 命名空间