共用方式為


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

傳回

適用於