Entity.GetById 方法 (Microsoft.Office.Server.ApplicationRegistry.MetadataModel)
Gets an entity given its ID.
命名空间: Microsoft.Office.Server.ApplicationRegistry.MetadataModel
程序集: Microsoft.SharePoint.Portal (在 microsoft.sharepoint.portal.dll 中)
语法
声明
Public Shared Function GetById ( _
metadataObjectId As UInteger _
) As Entity
用法
Dim metadataObjectId As UInteger
Dim returnValue As Entity
returnValue = Entity.GetById(metadataObjectId)
public static Entity GetById (
uint metadataObjectId
)
参数
- metadataObjectId
The ID of the entity.
返回值
An Entity object.
另请参阅
参考
Entity 类
Entity 成员
Microsoft.Office.Server.ApplicationRegistry.MetadataModel 命名空间