Condividi tramite


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)
Available in Sandboxed Solutions: No

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