ContentLocator.StartsWith(ContentLocator) 메서드

정의

지정된 ContentLocatorPart 요소의 시작 시퀀스가 이 ContentLocator요소의 ContentLocator 시작 시퀀스와 동일한지 여부를 나타내는 값을 반환합니다.

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

매개 변수

locator
ContentLocator

ContentLocatorContentLocatorPart항목과 비교할 요소 목록이 ContentLocator 있는 항목입니다.

반품

true이 요소의 시작 시퀀스가 지정된 ContentLocatorPart요소의 ContentLocator 시작 시퀀스와 일치하면 이 locator 고, false그렇지 않으면 .

예외

locatornull입니다.

설명

StartsWith는 지정된 요소의 요소와 일치하는 요소 trueContentLocatorPart 시작 시퀀스를 반환 ContentLocator 합니다locator.

StartsWith는 지정된 false 요소에 locator 다른 순서로 또는 이 ContentLocatorPart요소와 다른 요소가 포함되어 있으면 를 반환 ContentLocator 합니다.

적용 대상

추가 정보