ITypeReflector.ResolveDotNetType Method

Gets the .NET Framework type that corresponds to the specified name of the type.

Namespace:  Microsoft.BusinessData.Infrastructure
Assembly:  Microsoft.BusinessData (in Microsoft.BusinessData.dll)

Syntax

'Declaration
Function ResolveDotNetType ( _
    abstractTypeName As String, _
    lobSystemStruct As ILobSystemStruct _
) As Type
'Usage
Dim instance As ITypeReflector
Dim abstractTypeName As String
Dim lobSystemStruct As ILobSystemStruct
Dim returnValue As Type

returnValue = instance.ResolveDotNetType(abstractTypeName, _
    lobSystemStruct)
Type ResolveDotNetType(
    string abstractTypeName,
    ILobSystemStruct lobSystemStruct
)

Parameters

  • abstractTypeName
    Type: System.String

    The name of the type as understood by this TypeReflector.

Return Value

Type: System.Type

The corresponding .NET Framework type.

Remarks

The name of the type is stored in a TypeDescriptor’s P:Microsoft.BusinessData.MetadataModel.ITypeDescriptor.TypeName property.

Instances of objects in the Business Data Connectivity object model are tied to the Metadata Store they are obtained from. Using instances tied to one Metadata Store with the instances from another Metadata Store will cause data corruption and other unexpected behavior. For more information, see DatabaseBackedMetadataCatalog, FileBackedMetadataCatalog, and RemoteSharedFileBackedMetadataCatalog.

See Also

Reference

ITypeReflector Interface

ITypeReflector Members

Microsoft.BusinessData.Infrastructure Namespace