ITypeReflector.Get Method (TypeDescriptor, TypeDescriptor, Object)
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
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)
Object Get(
TypeDescriptor typeDescriptor,
TypeDescriptor instanceRootTypeDescriptor,
Object instance
)
Parameters
- typeDescriptor
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.TypeDescriptor
A 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.TypeDescriptor
The root TypeDescriptor object that describes the instance.
- 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
Microsoft.Office.Server.ApplicationRegistry.Infrastructure Namespace