GetItem Method
- Last UpdatedNov 06, 2025
- 1 minute read
The GetItem() method retrieves the specified item's details from the database and, optionally, its attributes.
'Declaration
Public Shared Function GetItem( _
ByVal itemId As String, _
ByVal loadAttributes As Boolean _
) As Item
public static Item GetItem(
string itemId,
bool loadAttributes
)
Parameters
- itemId
- Required. Holds the ID of the item whose properties are being retrieved.
- loadAttributes
- Required. Holds a flag that, if set to true, specifies that the item's attributes also be retrieved.
Return Value
Returns an item object that represents the specified item.