Share via


IEntityInstance.GetIdentifierValues Method

NOTE: This API is now obsolete.

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
<ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.",  _
    False)> _
Function GetIdentifierValues As IList(Of Object)
'Usage
Dim instance As IEntityInstance
Dim returnValue As IList(Of Object)

returnValue = instance.GetIdentifierValues()
[ObsoleteAttribute("O12 Application Registry API is deprecated. Please use BusinessData.", 
    false)]
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