TextDocument.TryGetText(SourceText) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
문서가 이미 로드되어 있고 사용 가능한 경우 문서의 현재 텍스트를 가져옵니다.
public:
bool TryGetText([Runtime::InteropServices::Out] Microsoft::CodeAnalysis::Text::SourceText ^ % text);
public bool TryGetText(out Microsoft.CodeAnalysis.Text.SourceText text);
public bool TryGetText(out Microsoft.CodeAnalysis.Text.SourceText? text);
member this.TryGetText : SourceText -> bool
Public Function TryGetText (ByRef text As SourceText) As Boolean
매개 변수
- text
- SourceText