DataClass.GetById Method

Gets a DataClass object given its ID.

Namespace:  Microsoft.Office.Server.ApplicationRegistry.MetadataModel
Assembly:  Microsoft.SharePoint.Portal (in 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
    Type: System.UInt32
    The ID of the DataClass (entity) object.

Return Value

Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.DataClass
A DataClass object.

See Also


DataClass Class

DataClass Members

Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace