EntityDataTableAdapter.Item Property
Returns the entity instance contained in the specified data row from the DataTable object.
Namespace: Microsoft.Office.Server.ApplicationRegistry.Runtime
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public ReadOnly Default Property Item ( _
index As Integer _
) As IEntityInstance
Get
'Usage
Dim instance As EntityDataTableAdapter
Dim index As Integer
Dim value As IEntityInstance
value = instance(index)
public IEntityInstance this[
int index
] { get; }
Parameters
- index
Type: System.Int32
The index of the row to retrieve.
Property Value
Type: Microsoft.Office.Server.ApplicationRegistry.Runtime.IEntityInstance
An IEntityInstance object contained in the specified data row from the DataTable object.
Remarks
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.
See Also
Reference
EntityDataTableAdapter Members
Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace