ITypeReflector.GetDotNetType Method
NOTE: This API is now obsolete.
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
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", _
False)> _
Function GetDotNetType ( _
typeDescriptor As TypeDescriptor _
) As Type
'Usage
Dim instance As ITypeReflector
Dim typeDescriptor As TypeDescriptor
Dim returnValue As Type
returnValue = instance.GetDotNetType(typeDescriptor)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",
false)]
Type GetDotNetType(
TypeDescriptor typeDescriptor
)
Parameters
typeDescriptor
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.TypeDescriptorA TypeDescriptor object.
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
Microsoft.Office.Server.ApplicationRegistry.Infrastructure Namespace