Share via


SPWeb.UIVersion property

Gets or sets the current version number of the user interface.

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

Syntax

'Declaration
Public Property UIVersion As Integer
    Get
    Set
'Usage
Dim instance As SPWeb
Dim value As Integer

value = instance.UIVersion

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

Property value

Type: System.Int32
A number between 0 and 127.

Remarks

The value of this property indicates which elements of the user interface and which master pages are in use. It can also determine compatibility with other components of SharePoint Foundation.

See also

Reference

SPWeb class

SPWeb members

Microsoft.SharePoint namespace