共用方式為


SPWebInfo.UIVersion property

網站的使用者介面版本。

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

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

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

Property value

Type: System.Int32
這個 SharePoint 網站的使用者介面版本Int32表示。

請參閱

參照

SPWebInfo class

SPWebInfo members

Microsoft.SharePoint namespace