Click or drag to resize

IUserSessionGetT Method


Retrieves an Entity object from the Content Store by its unique ID

Namespace: Ingeniux.CMS
Assembly: Ingeniux.CMS.CSAPI (in Ingeniux.CMS.CSAPI.dll) Version: 10.6.492
Syntax
T Get<T>(
	string id
)

Parameters

id  String
Unique ID of the object to retrieve

Type Parameters

T
Type of the object to retrieve

Return Value

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.
Remarks
This will return a non-augmented Entity object. To use dynamic properties like Session please use GetEntityT, TManager(String, TManager).
See Also