TextPattern.DocumentRange 속성

정의

문서의 기본 텍스트를 묶는 텍스트 범위를 가져옵니다.

public:
 property System::Windows::Automation::Text::TextPatternRange ^ DocumentRange { System::Windows::Automation::Text::TextPatternRange ^ get(); };
public System.Windows.Automation.Text.TextPatternRange DocumentRange { get; }
member this.DocumentRange : System.Windows.Automation.Text.TextPatternRange
Public ReadOnly Property DocumentRange As TextPatternRange

속성 값

예제

다음 코드 예제에서 targetTextPattern 멤버 변수는 관심 있는 텍스트 공급자에서 가져온 개체입니다 TextPattern .

// Initialize the document range for the text of the document.
documentRange = targetTextPattern.DocumentRange;
' Initialize the document range for the text of the document.
documentRange = targetTextPattern.DocumentRange

설명

머리글, 각주 또는 주석과 같은 일부 보조 텍스트는 포함되지 않을 수 있습니다.

적용 대상

추가 정보