Конструктор 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) внешнего типа контента.
name
Тип: System.StringString
isCached
Тип: System.Booleantrue кэшировать экземпляр класса; в противном случае — false.
objectVersion
Тип: System.Int32Версия объекта.
partitionId
Тип: System.GuidИдентификатор раздела.
nameSpace
Тип: System.StringПространство имен.
estimatedInstanceCount
Тип: System.UInt32Счетчик экземпляров оценка.
cacheUsage
Тип: Microsoft.BusinessData.Runtime.CacheUsageИспользование кэша.
description
Тип: System.StringОписание.
version
Тип: System.VersionВерсия.
active
Тип: System.Booleantrue , если экземпляр является активным; в противном случае — false.
lobSystemId
Тип: System.UInt32Идентификатор внешней системы.
modelId
Тип: System.UInt32Код режима.
См. также
Справочные материалы
Пространство имен Microsoft.SharePoint.BusinessData.SharedService