Compartilhar via


TemplateBasedControl.Version property

Gets or sets the a value that indicates whether the UI of the parent Web site is using the UI of the current version of the SharePoint Foundation or the previous version.

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

Syntax

'Declaration
Public Overrides Property Version As Integer
    Get
    Set
'Usage
Dim instance As TemplateBasedControl
Dim value As Integer

value = instance.Version

instance.Version = value
public override int Version { get; set; }

Property value

Type: System.Int32
The version of the UI.

See also

Reference

TemplateBasedControl class

TemplateBasedControl members

Microsoft.SharePoint.WebControls namespace