Compartir a través de


: EntityDataTableAdapter.Item (Propiedad) (Microsoft.Office.Server.ApplicationRegistry.Runtime)

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

Espacio de nombres:
Ensamblado: Microsoft.SharePoint.Portal (in microsoft.sharepoint.portal.dll)

Sintaxis

'Declaración
Public ReadOnly Default Property Item ( _
    index As Integer _
) As IEntityInstance
'Uso
Dim instance As EntityDataTableAdapter
Dim index As Integer
Dim value As IEntityInstance

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

Parámetros

  • index
    The index of the row to retrieve.

Valor de propiedad

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

Comentarios

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.

Vea también

Referencia

EntityDataTableAdapter (Clase)
EntityDataTableAdapter (Miembros)
Microsoft.Office.Server.ApplicationRegistry.Runtime (Espacio de nombres)