共用方式為


File.UIVersion 屬性

取得值,指定檔案的實作特定版本識別碼。

命名空間:  Microsoft.SharePoint.Client
組件:   Microsoft.SharePoint.Client.Silverlight (在 Microsoft.SharePoint.Client.Silverlight.dll 中);  Microsoft.SharePoint.Client.Phone (在 Microsoft.SharePoint.Client.Phone.dll 中)  Microsoft.SharePoint.Client (在 Microsoft.SharePoint.Client.dll 中)

語法

'宣告
Public ReadOnly Property UIVersion As Integer
    Get
'用途
Dim instance As File
Dim value As Integer

value = instance.UIVersion
public int UIVersion { get; }

屬性值

類型:System.Int32
傳回代表檔案的實作特定版本識別碼Int32執行個體。

例外狀況

例外狀況 條件
[System.ArgumentException]

版本資訊會遺失、 無效,或無法擷取。錯誤碼 ︰-2147024809。

[System.IO.FileNotFoundException]

找不到檔案。錯誤碼 ︰-2147024894。

[System.UnauthorizedAccessException]

目前的使用者會有足夠的權限。錯誤碼 ︰-2147024891。

請參閱

參照

File 類別

File 成員

Microsoft.SharePoint.Client 命名空間