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
typeDescriptor
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.TypeDescriptorA TypeDescriptor object that is not the root object that defines what part of the instance to extract from the root TypeDescriptor object.
instanceRootTypeDescriptor
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.TypeDescriptorThe root TypeDescriptor object that describes the instance.
instance
Type: System.ObjectAn 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
Microsoft.Office.Server.ApplicationRegistry.Infrastructure Namespace