Compartir a través de


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

Crea un objeto MethodInstance .

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

Sintaxis

'Declaración
Public Function Create ( _
    name As String, _
    isCached As Boolean, _
    returnTypeDescriptor As TypeDescriptor, _
    type As MethodInstanceType, _
    isDefault As Boolean _
) 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 returnValue As MethodInstance

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

Parámetros

  • isCached
    Tipo: System.Boolean

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

  • isDefault
    Tipo: System.Boolean

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

Valor devuelto

Tipo: Microsoft.SharePoint.BusinessData.Administration.MethodInstance
El nuevo objeto de MethodInstance .

Vea también

Referencia

clase MethodInstanceCollection

Miembros MethodInstanceCollection

Sobrecarga Create

Espacio de nombres Microsoft.SharePoint.BusinessData.Administration