AbstractEntityInstance.GetIdentifierValues 方法 (Microsoft.Office.Server.ApplicationRegistry.Runtime)
When overridden in a derived class, gets the identifier values of the entity instance.
命名空间: Microsoft.Office.Server.ApplicationRegistry.Runtime
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)
语法
声明
Public Overridable Function GetIdentifierValues As IList(Of Object)
用法
Dim instance As AbstractEntityInstance
Dim returnValue As IList(Of Object)
returnValue = instance.GetIdentifierValues
public virtual IList<Object> GetIdentifierValues ()
返回值
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.
备注
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.
另请参阅
参考
AbstractEntityInstance 类
AbstractEntityInstance 成员
Microsoft.Office.Server.ApplicationRegistry.Runtime 命名空间