System::Globalization::CompareInfo::IsPrefix methode

CompareInfo::IsPrefix(const String&, const String&) const method

Controleert of de opgegeven string begint met het opgegeven voorvoegsel.

virtual bool System::Globalization::CompareInfo::IsPrefix(const String &source, const String &prefix) const
ParameterTypeBeschrijving
sourceconst String&Bronstring.
prefixconst String&Voorvoegselstring.

ReturnValue

Waar als de string begint met het voorvoegsel; anders onwaar.

Zie ook

CompareInfo::IsPrefix(const String&, const String&, CompareOptions) const method

Controleert of de opgegeven string begint met het opgegeven voorvoegsel met behulp van de opgegeven vergelijkingsopties.

virtual bool System::Globalization::CompareInfo::IsPrefix(const String &source, const String &prefix, CompareOptions options) const
ParameterTypeBeschrijving
sourceconst String&Bronstring.
prefixconst String&Voorvoegselstring.
optiesCompareOptionsVergelijk opties.

ReturnValue

Waar als de string begint met het voorvoegsel; anders onwaar.

Zie ook