Share via


TypeDescriptorStruct constructor (UInt32, String, Boolean, Int32, String, String, TypeDescriptorFlags, Boolean, Boolean, Boolean, UInt32, UInt32, UInt32, UInt32, UInt32, String, String, String, String, String, String, 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, _
    typeName As String, _
    lobName As String, _
    flags As TypeDescriptorFlags, _
    containsIdentifier As Boolean, _
    containsFilterDescriptor As Boolean, _
    containsReadOnly As Boolean, _
    parameterId As UInteger, _
    parentTypeDescriptorId As UInteger, _
    filterDescriptorId As UInteger, _
    identifierId As UInteger, _
    associationId As UInteger, _
    associationReferenceName As String, _
    associationReferenceEntityName As String, _
    associationReferenceEntityNamespace As String, _
    identifierReferenceName As String, _
    identifierReferenceEntityName As String, _
    identifierReferenceEntityNamespace As String, _
    partitionId As Guid _
)
'Usage
Dim id As UInteger
Dim name As String
Dim isCached As Boolean
Dim version As Integer
Dim typeName As String
Dim lobName As String
Dim flags As TypeDescriptorFlags
Dim containsIdentifier As Boolean
Dim containsFilterDescriptor As Boolean
Dim containsReadOnly As Boolean
Dim parameterId As UInteger
Dim parentTypeDescriptorId As UInteger
Dim filterDescriptorId As UInteger
Dim identifierId As UInteger
Dim associationId As UInteger
Dim associationReferenceName As String
Dim associationReferenceEntityName As String
Dim associationReferenceEntityNamespace As String
Dim identifierReferenceName As String
Dim identifierReferenceEntityName As String
Dim identifierReferenceEntityNamespace As String
Dim partitionId As Guid

Dim instance As New TypeDescriptorStruct(id, name, _
    isCached, version, typeName, lobName, _
    flags, containsIdentifier, containsFilterDescriptor, _
    containsReadOnly, parameterId, parentTypeDescriptorId, _
    filterDescriptorId, identifierId, _
    associationId, associationReferenceName, _
    associationReferenceEntityName, _
    associationReferenceEntityNamespace, _
    identifierReferenceName, identifierReferenceEntityName, _
    identifierReferenceEntityNamespace, _
    partitionId)
public TypeDescriptorStruct(
    uint id,
    string name,
    bool isCached,
    int version,
    string typeName,
    string lobName,
    TypeDescriptorFlags flags,
    bool containsIdentifier,
    bool containsFilterDescriptor,
    bool containsReadOnly,
    uint parameterId,
    uint parentTypeDescriptorId,
    uint filterDescriptorId,
    uint identifierId,
    uint associationId,
    string associationReferenceName,
    string associationReferenceEntityName,
    string associationReferenceEntityNamespace,
    string identifierReferenceName,
    string identifierReferenceEntityName,
    string identifierReferenceEntityNamespace,
    Guid partitionId
)

Parameters

  • isCached
    Type: System.Boolean

    true to cache the new instance of the class; otherwise, false.

  • containsIdentifier
    Type: System.Boolean

    true if the object contains an identifier; otherwise, false.

  • containsFilterDescriptor
    Type: System.Boolean

    true if the object contains a FilterDescriptor; otherwise, false.

  • containsReadOnly
    Type: System.Boolean

    true if the object contains read-only data; otherwise, false.

  • parentTypeDescriptorId
    Type: System.UInt32

    The parent TypeDescriptor ID.

  • filterDescriptorId
    Type: System.UInt32

    The FilterDescriptor ID.

  • associationReferenceName
    Type: System.String

    The association reference name.

  • associationReferenceEntityName
    Type: System.String

    The name of the external content type for the association reference.

  • associationReferenceEntityNamespace
    Type: System.String

    The namespace of the external content type for the association reference.

  • identifierReferenceName
    Type: System.String

    The identifier reference name.

  • identifierReferenceEntityName
    Type: System.String

    The name of the identifier reference external content type.

  • identifierReferenceEntityNamespace
    Type: System.String

    The namespace of the identifier reference external content type.

See also

Reference

TypeDescriptorStruct class

TypeDescriptorStruct members

TypeDescriptorStruct overload

Microsoft.SharePoint.BusinessData.SharedService namespace