Partager via


IEntityInstance.GetIdentifierValues, méthode (Microsoft.Office.Server.ApplicationRegistry.Runtime)

Gets the identifier values of the entity instance.

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

Syntaxe

'Déclaration
Function GetIdentifierValues As IList(Of Object)
'Utilisation
Dim instance As IEntityInstance
Dim returnValue As IList(Of Object)

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

Valeur de retour

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.

Remarques

This method uses the SharedEntityState object for this entity, and extracts the identifier values from the root type descriptor of this entity instance.

Voir aussi

Référence

IEntityInstance, interface
Membres IEntityInstance
Microsoft.Office.Server.ApplicationRegistry.Runtime, espace de noms