Skip to content

M_CommandLine_Core_NameExtensions_FromOptionSpecification

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

NameExtensions.FromOptionSpecification Method

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

Syntax

C#

public static NameInfo FromOptionSpecification(
	this OptionSpecification specification
)

VB

<ExtensionAttribute>
Public Shared Function FromOptionSpecification ( 
	specification As OptionSpecification
) As NameInfo

C++

public:
[ExtensionAttribute]
static NameInfo^ FromOptionSpecification(
	OptionSpecification^ specification
)

F#

[<ExtensionAttribute>]
static member FromOptionSpecification : 
        specification : OptionSpecification -> NameInfo 

Parameters

 

specification
Type: CommandLine.Core.OptionSpecification

Return Value

Type: NameInfo

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

NameExtensions Class
CommandLine.Core Namespace

Clone this wiki locally