Share via


AbstractEntityInstance.GetIdentifierValues Method

NOTE: This API is now obsolete.

When overridden in a derived class, 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)> _
Public Overridable Function GetIdentifierValues As IList(Of Object)
'Usage
Dim instance As AbstractEntityInstance
Dim returnValue As IList(Of Object)

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

Implements

IEntityInstance.GetIdentifierValues()

Remarks

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.

See Also

Reference

AbstractEntityInstance Class

AbstractEntityInstance Members

Microsoft.Office.Server.ApplicationRegistry.Runtime Namespace