N2 API Documentation
SetDetail<(Of <T>)> Method (detailName, value, defaultValue)
NamespacesN2ContentItemSetDetail<(Of <T>)>(String, T, T)
Set a value into the Details bag. If a value with the same name already exists it is overwritten. If the value equals the default value it will be removed from the details bag.
Declaration Syntax
C#Visual BasicVisual C++
protected virtual void SetDetail<T>(
	string detailName,
	T value,
	T defaultValue
)
Protected Overridable Sub SetDetail(Of T) ( _
	detailName As String, _
	value As T, _
	defaultValue As T _
)
protected:
generic<typename T>
virtual void SetDetail (
	String^ detailName, 
	T value, 
	T defaultValue
)
Generic Template Parameters
T
Parameters
detailName (String)
The name of the item to set.
value (T)
The value to set. If this parameter is null or equal to defaultValue the detail is removed.
defaultValue (T)
The default value. If the value is equal to this value the detail will be removed.

Assembly: N2 (Module: N2) Version: 1.0.204.35916