(String, Boolean, TypeDescriptor, MethodInstanceType, Boolean, Method) del método MethodInstanceCollection.Create
Crea un nuevo 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, _
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 para guardar en caché; en caso contrario, false.
returnTypeDescriptor
Tipo: Microsoft.SharePoint.BusinessData.Administration.TypeDescriptorEl objeto TypeDescriptor .
type
Tipo: Microsoft.BusinessData.MetadataModel.MethodInstanceTypeTipo de MethodInstanceType .
isDefault
Tipo: System.Booleantrue si el objeto creado debe ser objeto de MethodInstanceCollection predeterminado; en caso contrario, false.
methodToUse
Tipo: Microsoft.SharePoint.BusinessData.Administration.MethodObjeto Method que se va a utilizar.
Valor devuelto
Tipo: Microsoft.SharePoint.BusinessData.Administration.MethodInstance
El nuevo objeto de MethodInstance .
Vea también
Referencia
clase MethodInstanceCollection
Miembros MethodInstanceCollection
Espacio de nombres Microsoft.SharePoint.BusinessData.Administration