Skip to content

M_CommandLine_UnParserExtensions_FormatName

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

UnParserExtensions.FormatName Method

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

Syntax

C#

private static string FormatName(
	this OptionSpecification optionSpec,
	UnParserSettings settings
)

VB

<ExtensionAttribute>
Private Shared Function FormatName ( 
	optionSpec As OptionSpecification,
	settings As UnParserSettings
) As String

C++

private:
[ExtensionAttribute]
static String^ FormatName(
	OptionSpecification^ optionSpec, 
	UnParserSettings^ settings
)

F#

[<ExtensionAttribute>]
private static member FormatName : 
        optionSpec : OptionSpecification * 
        settings : UnParserSettings -> string 

Parameters

 

optionSpec
Type: CommandLine.Core.OptionSpecification
settings
Type: CommandLine.UnParserSettings

Return Value

Type: String

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

UnParserExtensions Class
CommandLine Namespace

Clone this wiki locally