Partager via


EntityStruct - Constructeur (UInt32, String, Boolean, Int32, Guid, String, UInt32, CacheUsage, String, Version, Boolean, UInt32, UInt32)

Initialise une nouvelle instance de la classe.

Espace de noms :  Microsoft.SharePoint.BusinessData.Administration.Client
Assembly :  Microsoft.SharePoint.BusinessData.Administration.Client (dans Microsoft.SharePoint.BusinessData.Administration.Client.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    id As UInteger, _
    name As String, _
    isCached As Boolean, _
    objectVersion As Integer, _
    partitionId As Guid, _
    nameSpace As String, _
    estimatedInstanceCount As UInteger, _
    cacheUsage As CacheUsage, _
    description As String, _
    version As Version, _
    active As Boolean, _
    lobSystemId As UInteger, _
    modelId As UInteger _
)
'Utilisation
Dim id As UInteger
Dim name As String
Dim isCached As Boolean
Dim objectVersion As Integer
Dim partitionId As Guid
Dim nameSpace As String
Dim estimatedInstanceCount As UInteger
Dim cacheUsage As CacheUsage
Dim description As String
Dim version As Version
Dim active As Boolean
Dim lobSystemId As UInteger
Dim modelId As UInteger

Dim instance As New EntityStruct(id, name, _
    isCached, objectVersion, partitionId, _
    nameSpace, estimatedInstanceCount, _
    cacheUsage, description, version, _
    active, lobSystemId, modelId)
public EntityStruct(
    uint id,
    string name,
    bool isCached,
    int objectVersion,
    Guid partitionId,
    string nameSpace,
    uint estimatedInstanceCount,
    CacheUsage cacheUsage,
    string description,
    Version version,
    bool active,
    uint lobSystemId,
    uint modelId
)

Paramètres

  • id
    Type : System.UInt32

    Identificateur (ID) du type de contenu externe.

  • isCached
    Type : System.Boolean

    true pour mettre en cache l'instance de classe ; dans le cas contraire, false.

  • objectVersion
    Type : System.Int32

    La version EntityStruct .

  • estimatedInstanceCount
    Type : System.UInt32

    Le nombre d'instances estimée.

  • active
    Type : System.Boolean

    true si l'instance est active ; dans le cas contraire, false.

Voir aussi

Référence

EntityStruct classe

EntityStruct - Membres

EntityStruct - Surcharge

Microsoft.SharePoint.BusinessData.Administration.Client - Espace de noms