Share via


ConsoleNode.UIVersion property

Gets or sets an integer that indicates the user interface experience point at which this ConsoleNode object is to be displayed.

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

Syntax

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

value = instance.UIVersion

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

Property value

Type: System.Int32
A value from the set {0, 3, 4}.

Remarks

The value 4 indicates that this ConsoleNode element is displayed only on the new ribbon based user interface experience.

The value 3 indicates that this element is displayed only on the previous user interface experience.

Finally the value 0 indicates that this element is displayed on all user interface experiences.

See also

Reference

ConsoleNode class

ConsoleNode members

Microsoft.SharePoint.Publishing.WebControls namespace

ConsoleNode