ContentLocator.StartsWith(ContentLocator) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Belirtilen ContentLocator bir içindeki öğelerin başlangıç sırasının ContentLocatorPart bu ContentLocatoriçindekilerle aynı olup olmadığını gösteren bir değer döndürür.
public:
bool StartsWith(System::Windows::Annotations::ContentLocator ^ locator);
public bool StartsWith (System.Windows.Annotations.ContentLocator locator);
member this.StartsWith : System.Windows.Annotations.ContentLocator -> bool
Public Function StartsWith (locator As ContentLocator) As Boolean
Parametreler
- locator
- ContentLocator
ContentLocator ile karşılaştıracak öğelerin listesiyle ContentLocatorPart ContentLocatorbirlikte.
Döndürülenler
true
bu ContentLocator içindeki öğelerin başlangıç sırası ContentLocatorPart belirtilen locator
içindekilerle eşleşiyorsa; eşleşmiyorsa, false
.
Özel durumlar
locator
, null
değeridir.
Açıklamalar
StartsWith, bu ContentLocator içindeki öğelerin belirtilen içindekilerle locator
eşleşen başlangıç sırasını ContentLocatorPart döndürürtrue
.
StartsWithbelirtilen locator
öğe farklı, farklı bir sırada veya bu ContentLocatoriçindekinden daha fazla öğe içeriyorsa ContentLocatorPart döndürürfalse
.