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

  • isCached
    Type: System.Boolean

    true if the new instances of the class is to be cached; otherwise, false.

  • isDefault
    Type: System.Boolean

    true if the instance is to be used as a default; otherwise, false.

  • returnTypeDescriptorId
    Type: System.UInt32

    The return TypeDescriptor ID.

See also

Reference

MethodInstanceStruct class

MethodInstanceStruct members

MethodInstanceStruct overload

Microsoft.SharePoint.BusinessData.SharedService namespace