Share via


PublishingPageVersionStyleIndicator.MajorVersionStyle property

Gets or sets the style name to render when the current page is a published version.

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

Syntax

'Declaration
Public Property MajorVersionStyle As String
    Get
    Set
'Usage
Dim instance As PublishingPageVersionStyleIndicator
Dim value As String

value = instance.MajorVersionStyle

instance.MajorVersionStyle = value
public string MajorVersionStyle { get; set; }

Property value

Type: System.String
A string that represents the name of the style to be used when the current page is a published version.

See also

Reference

PublishingPageVersionStyleIndicator class

PublishingPageVersionStyleIndicator members

Microsoft.SharePoint.Publishing.WebControls namespace