Share via


ITypeReflector.Get Method (TypeDescriptor, TypeDescriptor, Object)

NOTE: This API is now obsolete.

Returns the instance that is extracted according to the SubType that corresponds to the specified 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 Get ( _
    typeDescriptor As TypeDescriptor, _
    instanceRootTypeDescriptor As TypeDescriptor, _
    instance As Object _
) As Object
'Usage
Dim instance As ITypeReflector
Dim typeDescriptor As TypeDescriptor
Dim instanceRootTypeDescriptor As TypeDescriptor
Dim instance As Object
Dim returnValue As Object

returnValue = instance.Get(typeDescriptor, _
    instanceRootTypeDescriptor, instance)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
Object Get(
    TypeDescriptor typeDescriptor,
    TypeDescriptor instanceRootTypeDescriptor,
    Object instance
)

Parameters

  • instance
    Type: System.Object

    An instance of a Type object that corresponds to the root TypeDescriptor object of the TypeDescriptor instance that is passed in.

Return Value

Type: System.Object
An object representing the instance extracted from the TypeDescriptor object.

See Also

Reference

ITypeReflector Interface

ITypeReflector Members

Get Overload

Microsoft.Office.Server.ApplicationRegistry.Infrastructure Namespace