CommandInfoMatchesPrefix Method
Checks whether the command's name or one of its aliases start with the specified prefix.
Namespace: Ookii.CommandLine.CommandsAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 4.2.0+a4d3631e4dcc0970081ed435288efdebc1325f83
public bool MatchesPrefix(
string prefix
)
Public Function MatchesPrefix (
prefix As String
) As Boolean
Dim instance As CommandInfo
Dim prefix As String
Dim returnValue As Boolean
returnValue = instance.MatchesPrefix(prefix)
public:
bool MatchesPrefix(
String^ prefix
)
- prefix String
- The prefix to check for.
Boolean if
prefix is a prefix of the
Name
property or any of the items in the
Aliases property.