Share via


IEntityInstance.GetIdentifierValues Method

Gets the identifier values of the entity instance.

Namespace:  Microsoft.Office.Server.ApplicationRegistry.Runtime
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Function GetIdentifierValues As IList(Of Object)
'Usage
Dim instance As IEntityInstance
Dim returnValue As IList(Of Object)

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

Return Value

Type: System.Collections.Generic.IList<Object>
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.

Remarks

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

See Also

Reference

IEntityInstance Interface

IEntityInstance Members

Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace