Share via


MethodInstanceCollection.Create Method (String, Boolean, TypeDescriptor, MethodInstanceType, Method)

Namespace:  Microsoft.Office.Server.ApplicationRegistry.Administration
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Public Function Create ( _
    name As String, _
    isCached As Boolean, _
    returnTypeDescriptor As TypeDescriptor, _
    type As MethodInstanceType, _
    method As Method _
) As MethodInstance
'Usage
Dim instance As MethodInstanceCollection
Dim name As String
Dim isCached As Boolean
Dim returnTypeDescriptor As TypeDescriptor
Dim type As MethodInstanceType
Dim method As Method
Dim returnValue As MethodInstance

returnValue = instance.Create(name, isCached, _
    returnTypeDescriptor, type, method)
public MethodInstance Create(
    string name,
    bool isCached,
    TypeDescriptor returnTypeDescriptor,
    MethodInstanceType type,
    Method method
)

Parameters

Return Value

Type: Microsoft.Office.Server.ApplicationRegistry.Administration.MethodInstance

See Also

Reference

MethodInstanceCollection Class

MethodInstanceCollection Members

Create Overload

Microsoft.Office.Server.ApplicationRegistry.Administration Namespace