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

속성 값

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

설명

헤더, 각주 또는 주석 같은 보조 텍스트로 포함 되지 않을 수 있습니다.

적용 대상

추가 정보