M_CommandLine_Core_NameExtensions_MatchName - adutton/commandline GitHub Wiki
Namespace: CommandLine.Core
Assembly: CommandLine (in CommandLine.dll) Version: 0.0.0
C#
public static bool MatchName(
this string value,
string shortName,
string longName,
StringComparer comparer
)VB
<ExtensionAttribute>
Public Shared Function MatchName (
value As String,
shortName As String,
longName As String,
comparer As StringComparer
) As BooleanC++
public:
[ExtensionAttribute]
static bool MatchName(
String^ value,
String^ shortName,
String^ longName,
StringComparer^ comparer
)F#
[<ExtensionAttribute>]
static member MatchName :
value : string *
shortName : string *
longName : string *
comparer : StringComparer -> bool
- value
- Type: System.String
- shortName
- Type: System.String
- longName
- Type: System.String
- comparer
- Type: System.StringComparer
Type: Boolean
In Visual Basic and C#, you can call this method as an instance method on any object of type String. 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).