Constructs and returns a URL by calling ToggleDimensionStateExposure(DimensionState) with the specified DimensionState on a copy of the NavigationCommand with the specified ID.

Namespace:  Endeca.Web.Url
Assembly:  Endeca.Web (in Endeca.Web.dll) Version: 2.1.3.0 (2.1.3.622)

Syntax

C#
public string ToggleDimensionStateExposure(
	string commandID,
	Object oDimensionState,
	Action<NameValueCollection> parametersAction
)
Visual Basic (Declaration)
Public Function ToggleDimensionStateExposure ( _
	commandID As String, _
	oDimensionState As Object, _
	parametersAction As Action(Of NameValueCollection) _
) As String
Visual C++
public:
String^ ToggleDimensionStateExposure(
	String^ commandID, 
	Object^ oDimensionState, 
	Action<NameValueCollection^>^ parametersAction
)

Parameters

commandID
Type: System..::.String
ID of the NavigationCommand or NavigationDataSource to copy.
oDimensionState
Type: System..::.Object
DimensionState to pass to ToggleDimensionStateExposure(DimensionState).
parametersAction
Type: System..::.Action<(Of <(NameValueCollection>)>)
Delegate representing desired changes to the Parameters to include in the URL. May be null.

Exceptions

ExceptionCondition
System..::.ArgumentException if commandID is null or empty, or if oDimensionState is null or is not a DimensionState instance.

See Also