镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
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#

public static OptionSpecification WithLongName(
	this OptionSpecification specification,
	string newLongName
)

VB

<ExtensionAttribute>
Public Shared Function WithLongName ( 
	specification As OptionSpecification,
	newLongName As String
) As OptionSpecification

C++

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

F#

[<ExtensionAttribute>]
static member WithLongName : 
        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