M_CommandLine_Core_SpecificationExtensions_WithLongName - adutton/commandline GitHub Wiki
Namespace: CommandLine.Core
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0
C#
public static OptionSpecification WithLongName(
this OptionSpecification specification,
string newLongName
)VB
<ExtensionAttribute>
Public Shared Function WithLongName (
specification As OptionSpecification,
newLongName As String
) As OptionSpecificationC++
public:
[ExtensionAttribute]
static OptionSpecification^ WithLongName(
OptionSpecification^ specification,
String^ newLongName
)F#
[<ExtensionAttribute>]
static member WithLongName :
specification : OptionSpecification *
newLongName : string -> OptionSpecification
- specification
- Type: CommandLine.Core.OptionSpecification
- newLongName
- Type: System.String
Type: OptionSpecification
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).