(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
name
Tipo: System.StringEl nombre del objeto MethodInstance .
isCached
Tipo: System.Booleantrue si es el objeto creado en caché; en caso contrario, false.
returnTypeDescriptor
Tipo: Microsoft.SharePoint.BusinessData.Administration.Client.TypeDescriptorEl objeto TypeDescriptor .
type
Tipo: Microsoft.BusinessData.MetadataModel.MethodInstanceTypeEl tipo de MethodInstanceType .
isDefault
Tipo: System.Booleantrue si el objeto creado debe ser el objeto de MethodInstanceCollection predeterminada; en caso contrario, false.
methodToUse
Tipo: Microsoft.SharePoint.BusinessData.Administration.Client.MethodObjeto de Method a utilizar.
Valor devuelto
Tipo: Microsoft.SharePoint.BusinessData.Administration.Client.MethodInstance
Nuevo objeto MethodInstance .
Vea también
Referencia
clase MethodInstanceCollection
Miembros MethodInstanceCollection
Espacio de nombres Microsoft.SharePoint.BusinessData.Administration.Client