Skip to content

M_CommandLine_Core_SpecificationExtensions_IsOption

Moh.Hassan edited this page Oct 10, 2019 · 1 revision

SpecificationExtensions.IsOption Method

Namespace: CommandLine.Core
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0

Syntax

C#

public static bool IsOption(
	this Specification specification
)

VB

<ExtensionAttribute>
Public Shared Function IsOption ( 
	specification As Specification
) As Boolean

C++

public:
[ExtensionAttribute]
static bool IsOption(
	Specification^ specification
)

F#

[<ExtensionAttribute>]
static member IsOption : 
        specification : Specification -> bool 

Parameters

 

specification
Type: CommandLine.Core.Specification

Return Value

Type: Boolean

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Specification. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also

Reference

SpecificationExtensions Class
CommandLine.Core Namespace

Clone this wiki locally