ITypeReflector.Instantiate Method (TypeDescriptor, MethodInstance)
NOTE: This API is now obsolete.
Creates an instance of a Type corresponding to the TypeDescriptor object for the specified method instance.
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 Instantiate ( _
typeDescriptor As TypeDescriptor, _
methodInstance As MethodInstance _
) As Object
'Usage
Dim instance As ITypeReflector
Dim typeDescriptor As TypeDescriptor
Dim methodInstance As MethodInstance
Dim returnValue As Object
returnValue = instance.Instantiate(typeDescriptor, _
methodInstance)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",
false)]
Object Instantiate(
TypeDescriptor typeDescriptor,
MethodInstance methodInstance
)
Parameters
typeDescriptor
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.TypeDescriptorA TypeDescriptor object that represents the recursive structure describing the Type to be created.
methodInstance
Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.MethodInstanceA MethodInstance object for which this Type is being created.
Return Value
Type: System.Object
An instance of a Type.
See Also
Reference
Microsoft.Office.Server.ApplicationRegistry.Infrastructure Namespace