(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
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.
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