Share via


Entity.GetById Method

Gets an entity 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 Entity
'Usage
Dim metadataObjectId As UInteger
Dim returnValue As Entity

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

Parameters

Return Value

Type: Microsoft.Office.Server.ApplicationRegistry.MetadataModel.Entity
An Entity object.

See Also

Reference

Entity Class

Entity Members

Microsoft.Office.Server.ApplicationRegistry.MetadataModel Namespace