Partager via


EntityDataTableAdapter.Item, propriété (Microsoft.Office.Server.ApplicationRegistry.Runtime)

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

Espace de noms : Microsoft.Office.Server.ApplicationRegistry.Runtime
Assembly : Microsoft.SharePoint.Portal (dans microsoft.sharepoint.portal.dll)

Syntaxe

'Déclaration
Public ReadOnly Default Property Item ( _
    index As Integer _
) As IEntityInstance
'Utilisation
Dim instance As EntityDataTableAdapter
Dim index As Integer
Dim value As IEntityInstance

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

Paramètres

  • index
    The index of the row to retrieve.

Valeur de la propriété

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

Remarques

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.

Voir aussi

Référence

EntityDataTableAdapter, classe
Membres EntityDataTableAdapter
Microsoft.Office.Server.ApplicationRegistry.Runtime, espace de noms