Gets a detail from the details bag.
Namespace:
N2Assembly: N2 (in N2.dll) Version: 1.0.404.40299 (1.4.4)
Syntax
| C# |
|---|
public virtual T GetDetail<T>( string detailName, T defaultValue ) |
| Visual Basic (Declaration) |
|---|
Public Overridable Function GetDetail(Of T) ( _ detailName As String, _ defaultValue As T _ ) As T |
| Visual C++ |
|---|
public: generic<typename T> virtual T GetDetail( String^ detailName, T defaultValue ) |
Parameters
- detailName
- Type: System..::.String
The name of the value to get.
- defaultValue
- Type: T
The default value to return when no detail is found.
Type Parameters
- T
[Missing <typeparam name="T"/> documentation for "M:N2.ContentItem.GetDetail``1(System.String,``0)"]