Compartir a través de


(String, Boolean, TypeDescriptor, MethodInstanceType, Boolean, Method) del método MethodInstanceCollection.Create

Crea un nuevo objeto MethodInstance .

Espacio de nombres:  Microsoft.SharePoint.BusinessData.Administration.Client
Ensamblado:  Microsoft.SharePoint.BusinessData.Administration.Client (en Microsoft.SharePoint.BusinessData.Administration.Client.dll)

Sintaxis

'Declaración
Public Function Create ( _
    name As String, _
    isCached As Boolean, _
    returnTypeDescriptor As TypeDescriptor, _
    type As MethodInstanceType, _
    isDefault As Boolean, _
    methodToUse As Method _
) As MethodInstance
'Uso
Dim instance As MethodInstanceCollection
Dim name As String
Dim isCached As Boolean
Dim returnTypeDescriptor As TypeDescriptor
Dim type As MethodInstanceType
Dim isDefault As Boolean
Dim methodToUse As Method
Dim returnValue As MethodInstance

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

Parámetros

  • isCached
    Tipo: System.Boolean

    true si es el objeto creado en caché; en caso contrario, false.

  • isDefault
    Tipo: System.Boolean

    true si el objeto creado debe ser el objeto de MethodInstanceCollection predeterminada; en caso contrario, false.

Valor devuelto

Tipo: Microsoft.SharePoint.BusinessData.Administration.Client.MethodInstance
Nuevo objeto MethodInstance .

Vea también

Referencia

clase MethodInstanceCollection

Miembros MethodInstanceCollection

Sobrecarga Create

Espacio de nombres Microsoft.SharePoint.BusinessData.Administration.Client