다음을 통해 공유


ITypeReflector.Instantiate Method (TypeDescriptor, MethodInstance)

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
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)
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