EntityDataTableAdapter.Item 属性 (Microsoft.Office.Server.ApplicationRegistry.Runtime)

Returns the entity instance contained in the specified data row from the DataTable object.

命名空间: Microsoft.Office.Server.ApplicationRegistry.Runtime
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)

语法

声明
Public ReadOnly Default Property Item ( _
    index As Integer _
) As IEntityInstance
用法
Dim instance As EntityDataTableAdapter
Dim index As Integer
Dim value As IEntityInstance

value = instance(index)
public IEntityInstance this [
    int index
] { get; }

参数

  • index
    The index of the row to retrieve.

属性值

An IEntityInstance object contained in the specified data row from the DataTable object.

备注

If you have complex formatting on fields that represent Identifier values for the Entity, this method will fail, as the raw, unformatted identifier values are necessary to create the IEntityInstance.

另请参阅

参考

EntityDataTableAdapter 类
EntityDataTableAdapter 成员
Microsoft.Office.Server.ApplicationRegistry.Runtime 命名空间