Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

M_CommandLine_HelpTextExtensions_IsVersion

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

HelpTextExtensions.IsVersion Method

return true when errors contain VersionXXXError

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

Syntax

C#

public static bool IsVersion(
	this IEnumerable<Error> errs
)

VB

<ExtensionAttribute>
Public Shared Function IsVersion ( 
	errs As IEnumerable(Of Error)
) As Boolean

C++

public:
[ExtensionAttribute]
static bool IsVersion(
	IEnumerable<Error^>^ errs
)

F#

[<ExtensionAttribute>]
static member IsVersion : 
        errs : IEnumerable<Error> -> bool 

Parameters

 

errs
Type: System.Collections.Generic.IEnumerable(Error)

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 IEnumerable(Error). 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

HelpTextExtensions Class
CommandLine Namespace

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.