Nevron .NET Vision
Nevron.UI.WebForm.Controls Namespace / NCallbackCommand Class / ParseArguments Method
A text in the form: name1="\"value\"'1'", name2='\'value\'"2"'. The quotes and double quotes in the value strings are introduced to demonstrate how quotes and double quotes can be included in values.
If this value is true, the values extracted from the formatted text are decoded with the HttpUtility.UrlDecode() method. Else, the following escape sequences are supported for the values extracted from the formatted text : \r, \n, \\, \" and \'.


In This Topic
    ParseArguments Method
    In This Topic
    Parses a formatted text, containing command arguments.
    Syntax
    'Declaration
     
    
    Protected Shared Function ParseArguments( _
       ByVal arguments As System.String, _
       ByVal urlDecode As System.Boolean _
    ) As System.Collections.Hashtable
    'Usage
     
    
    Dim arguments As System.String
    Dim urlDecode As System.Boolean
    Dim value As System.Collections.Hashtable
     
    value = NCallbackCommand.ParseArguments(arguments, urlDecode)
    protected static System.Collections.Hashtable ParseArguments( 
       System.string arguments,
       System.bool urlDecode
    )

    Parameters

    arguments
    A text in the form: name1="\"value\"'1'", name2='\'value\'"2"'. The quotes and double quotes in the value strings are introduced to demonstrate how quotes and double quotes can be included in values.
    urlDecode
    If this value is true, the values extracted from the formatted text are decoded with the HttpUtility.UrlDecode() method. Else, the following escape sequences are supported for the values extracted from the formatted text : \r, \n, \\, \" and \'.

    Return Value

    A Hashtable with argument names as keys and argument values as values.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also