Share via


ITypeReflector.GetDotNetType Method

Returns the actual .NET Type of the TypeDescriptor object.

Namespace:  Microsoft.Office.Server.ApplicationRegistry.Infrastructure
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Function GetDotNetType ( _
    typeDescriptor As TypeDescriptor _
) As Type
'Usage
Dim instance As ITypeReflector
Dim typeDescriptor As TypeDescriptor
Dim returnValue As Type

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

Parameters

Return Value

Type: System.Type
A .NET Type.

Remarks

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.

See Also

Reference

ITypeReflector Interface

ITypeReflector Members

Microsoft.Office.Server.ApplicationRegistry.Infrastructure Namespace