Platform Core .NET Assemblies API
GetByName Method
See Also  Send Feedback
Terrasoft.Common Namespace > CommandLineParameterCollection Class : GetByName Method
name
The name of the parameter.

Glossary Item Box

Gets the parameter with the specified name from the collection.

Syntax

 
C#
 
 

Parameters

name
The name of the parameter.

Return Value

The instance of the CommandLineParameter class that represents the found parameter.

Exceptions

ExceptionDescription
System.ArgumentNullExceptionIf the name parameter passed in is empty or null.
ItemNotFoundExceptionIf the parameter with the name name was not found in the collection.

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

© Terrasoft 2002-2018.