EntityDataTableAdapter.Item Property
NOTE: This API is now obsolete.
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
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", _
False)> _
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)
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",
false)]
public IEntityInstance this[
int index
] { get; }
Parameters
index
Type: System.Int32The 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