Share via


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

Return Value

Type: System.Object
An instance of a Type.

See Also

Reference

ITypeReflector Interface

ITypeReflector Members

Instantiate Overload

Microsoft.Office.Server.ApplicationRegistry.Infrastructure Namespace