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.0.0+bb7ed9a8fdfd1cb21824750a8cf508863ad15086
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.