IEntityInstance.GetIdentifierValues 方法 (Microsoft.Office.Server.ApplicationRegistry.Runtime)

Gets the identifier values of the entity instance.

命名空间: Microsoft.Office.Server.ApplicationRegistry.Runtime
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)

语法

声明
Function GetIdentifierValues As IList(Of Object)
用法
Dim instance As IEntityInstance
Dim returnValue As IList(Of Object)

returnValue = instance.GetIdentifierValues
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.

备注

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

另请参阅

参考

IEntityInstance 接口
IEntityInstance 成员
Microsoft.Office.Server.ApplicationRegistry.Runtime 命名空间