Share via


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)

Syntax

'Declaration
Public Shared Function GetById ( _
    metadataObjectId As UInteger _
) As DataClass
'Usage
Dim metadataObjectId As UInteger
Dim returnValue As DataClass

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

Parameters

  • 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

Reference

DataClass Class

DataClass Members

Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace