Skip to content

M_CommandLine_Core_SpecificationExtensions_WithLongName

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

SpecificationExtensions.WithLongName Method

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

Syntax

C#

publicstaticOptionSpecificationWithLongName(thisOptionSpecificationspecification,stringnewLongName)

VB

<ExtensionAttribute>PublicSharedFunctionWithLongName(specificationAsOptionSpecification,newLongNameAsString)AsOptionSpecification

C++

public: [ExtensionAttribute] static OptionSpecification^ WithLongName( OptionSpecification^ specification, String^ newLongName )

F#

[<ExtensionAttribute>]static memberWithLongName:specification :OptionSpecification * newLongName : string -> OptionSpecification 

Parameters

specification
Type: CommandLine.Core.OptionSpecification
newLongName
Type: System.String

Return Value

Type: OptionSpecification

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type OptionSpecification. 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