TextDocument.TryGetTextVersion(VersionStamp) 方法

定义

如果文档已加载且可用,则获取文档文本的版本。

public:
 bool TryGetTextVersion([Runtime::InteropServices::Out] Microsoft::CodeAnalysis::VersionStamp % version);
public bool TryGetTextVersion (out Microsoft.CodeAnalysis.VersionStamp version);
member this.TryGetTextVersion : VersionStamp -> bool
Public Function TryGetTextVersion (ByRef version As VersionStamp) As Boolean

参数

version
VersionStamp

返回

适用于