Retrieves an object that implements the IObjectWithId interface by its unique ID,
from the content store.
Namespace:
Ingeniux.CMS
Assembly:
Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.3.169
Syntax Function Get(Of T) (
id As String
) As T
generic<typename T>
T Get(
String^ id
)
abstract Get :
id : string -> 'T
Parameters
- id
- Type: SystemString
Unique ID of the object to retrieve
Type Parameters
- T
- Type of the object to retrieve
Return Value
Type:
TReturns the object with matching ID. If object with that ID doesn't exist, or the object's type doesn't match the type parameters, returns null.
See Also