DataClass.GetById 方法 (Microsoft.Office.Server.ApplicationRegistry.MetadataModel)

Gets a DataClass object given its ID.

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

语法

声明
Public Shared Function GetById ( _
    metadataObjectId As UInteger _
) As DataClass
用法
Dim metadataObjectId As UInteger
Dim returnValue As DataClass

returnValue = DataClass.GetById(metadataObjectId)
public static DataClass GetById (
    uint metadataObjectId
)

参数

  • metadataObjectId
    The ID of the DataClass (entity) object.

返回值

A DataClass object.

另请参阅

参考

DataClass 类
DataClass 成员
Microsoft.Office.Server.ApplicationRegistry.MetadataModel 命名空间