Manipulates the resultant URL by adding this key value pair.
Namespace: Endeca.NavigationAssembly: Endeca.Navigation (in Endeca.Navigation.dll) Version: 6.3.0.0 (6.3.0.853)
Syntax
C# |
---|
public virtual void AddParam( string key, string val ) |
Visual Basic |
---|
Public Overridable Sub AddParam ( _ key As String, _ val As String _ ) |
Visual C++ |
---|
public: virtual void AddParam( String^ key, String^ val ) |
Parameters
- key
- Type: System..::..String
Key name of the pair to be added.
- val
- Type: System..::..String
Value to be added to the output URL where the value is decoded.
Remarks
This method will overwrite ANY of the original parameters with the
same key and any other parameter that got added by this same method
previously with the same key. In addition, it is assumed that
val is decoded and will encode the value as
x-www-form-urlencoded on output. Values that are null or equal
to "" will be skipped so that this method can be blindly called
without having to check if the value is present.