MethodInstanceStruct Constructor (UInt32, String, Boolean, Int32, MethodInstanceType, Boolean, UInt32, UInt32, Guid)
Initializes a new instance of the class.
Namespace: Microsoft.SharePoint.BusinessData.SharedService
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub New ( _
id As UInteger, _
name As String, _
isCached As Boolean, _
version As Integer, _
methodInstanceType As MethodInstanceType, _
isDefault As Boolean, _
methodId As UInteger, _
returnTypeDescriptorId As UInteger, _
partitionId As Guid _
)
'Usage
Dim id As UInteger
Dim name As String
Dim isCached As Boolean
Dim version As Integer
Dim methodInstanceType As MethodInstanceType
Dim isDefault As Boolean
Dim methodId As UInteger
Dim returnTypeDescriptorId As UInteger
Dim partitionId As Guid
Dim instance As New MethodInstanceStruct(id, name, _
isCached, version, methodInstanceType, _
isDefault, methodId, returnTypeDescriptorId, _
partitionId)
public MethodInstanceStruct(
uint id,
string name,
bool isCached,
int version,
MethodInstanceType methodInstanceType,
bool isDefault,
uint methodId,
uint returnTypeDescriptorId,
Guid partitionId
)
Parameters
id
Type: System.UInt32The identifier (ID).
name
Type: System.StringThe name.
isCached
Type: System.Booleantrue if the new instances of the class is to be cached; otherwise, false.
version
Type: System.Int32The version.
methodInstanceType
Type: Microsoft.BusinessData.MetadataModel.MethodInstanceTypeThe MethodInstance type.
isDefault
Type: System.Booleantrue if the instance is to be used as a default; otherwise, false.
methodId
Type: System.UInt32The method ID.
returnTypeDescriptorId
Type: System.UInt32The return TypeDescriptor ID.
partitionId
Type: System.GuidThe partition ID.