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