Compartir a través de


: AbstractEntityInstance.GetIdentifierValues (Método) (Microsoft.Office.Server.ApplicationRegistry.Runtime)

When overridden in a derived class, gets the identifier values of the entity instance.

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

Sintaxis

'Declaración
Public Overridable Function GetIdentifierValues As IList(Of Object)
'Uso
Dim instance As AbstractEntityInstance
Dim returnValue As IList(Of Object)

returnValue = instance.GetIdentifierValues
public virtual IList<Object> GetIdentifierValues ()

Valor devuelto

A list of objects containing the identifier values. For entities with a single identifier, this is a single value. For entities with more than one identifier, this method returns all the identifier values arranged by the ordinal number.

Comentarios

This method uses the SharedEntityState object for this entity and extracts the identifier values from the root TypeDescriptor of this entity instance. The identifier values is what makes an instance of an entity unique.

Vea también

Referencia

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