ArcFM Responder Mobile Developer Guide
ParseArgumentsWithUsage Method






The actual arguments. The actual arguments.
The resulting parsed arguments. The resulting parsed arguments.
Parses Command Line Arguments. Displays usage message to Console.Out if /?, /help or invalid arguments are encounterd. Errors are output on Console.Error. Use ArgumentAttributes to control parsing behaviour. Parses Command Line Arguments. Displays usage message to Console.Out if /?, /help or invalid arguments are encountered. Errors are output on Console.Error. Use ArgumentAttributes to control parsing behavior.
Syntax
'Declaration
 
Public Shared Function ParseArgumentsWithUsage( _
   ByVal arguments() As System.String, _
   ByVal destination As System.Object _
) As System.Boolean
'Usage
 
Dim arguments() As System.String
Dim destination As System.Object
Dim value As System.Boolean
 
value = Parser.ParseArgumentsWithUsage(arguments, destination)
public static System.bool ParseArgumentsWithUsage( 
   System.string[] arguments,
   System.object destination
)
public function ParseArgumentsWithUsage( 
    arguments: System.Stringarray of;
    destination: System.TObject
): System.Boolean; static; 
public static function ParseArgumentsWithUsage( 
   arguments : System.String[],
   destination : System.Object
) : System.boolean;
public: static System.bool ParseArgumentsWithUsage( 
   System.string*[]* arguments,
   System.Object* destination
) 
public:
static System.bool ParseArgumentsWithUsage( 
   System.array<String^>^ arguments,
   System.Object^ destination
) 

Parameters

arguments
The actual arguments. The actual arguments.
destination
The resulting parsed arguments. The resulting parsed arguments.

Return Value

true if no errors were detected. Returns true if no errors were detected.
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

Reference

Parser Class
Parser Members

Send Feedback