IUserSessionGetT Method Ingeniux CMS Content Store API

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: 9.0.565.0 (9.0.565)
Syntax

T Get<T>(
	string id
)

Parameters

id
Type: SystemString
Unique ID of the object to retrieve

Type Parameters

T
Type of the object to retrieve

Return Value

Type: T
Returns 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

Reference