Get an individual item based on the items Id field
Namespace: DotNetNuke.DataAssembly: DotNetNuke (in DotNetNuke.dll)
Syntax
C# |
---|
T GetById<TProperty>( TProperty id ) |
Visual Basic |
---|
Function GetById(Of TProperty) ( id As TProperty ) As T |
Parameters
- id
- Type: TProperty
The value of the Id field
Type Parameters
- TProperty
- The type of the Id field