Поделиться через


Конструктор EntityStruct (UInt32, String, Boolean, Int32, Guid, String, UInt32, CacheUsage, String, Version, Boolean, UInt32, UInt32)

Инициализирует новый экземпляр класса.

Пространство имен:  Microsoft.SharePoint.BusinessData.SharedService
Сборка:  Microsoft.SharePoint (в Microsoft.SharePoint.dll)

Синтаксис

'Декларация
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 _
)
'Применение
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
)

Параметры

  • id
    Тип: System.UInt32

    Идентификатор (ID) внешнего типа контента.

  • isCached
    Тип: System.Boolean

    true кэшировать экземпляр класса; в противном случае — false.

  • objectVersion
    Тип: System.Int32

    Версия объекта.

  • partitionId
    Тип: System.Guid

    Идентификатор раздела.

  • nameSpace
    Тип: System.String

    Пространство имен.

  • estimatedInstanceCount
    Тип: System.UInt32

    Счетчик экземпляров оценка.

  • active
    Тип: System.Boolean

    true , если экземпляр является активным; в противном случае — false.

  • lobSystemId
    Тип: System.UInt32

    Идентификатор внешней системы.

См. также

Справочные материалы

EntityStruct класс

Элементы EntityStruct

Перегрузка EntityStruct

Пространство имен Microsoft.SharePoint.BusinessData.SharedService