Compartilhar via


TemplateBasedControl.RenderContext Property

Gets or sets the Microsoft SharePoint Foundation context in which the control is rendered.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Property RenderContext As SPContext
    Get
    Set
'Usage
Dim instance As TemplateBasedControl
Dim value As SPContext

value = instance.RenderContext

instance.RenderContext = value
public SPContext RenderContext { get; set; }

Property Value

Type: Microsoft.SharePoint.SPContext
A SPContext object that represents the context in which the control is rendered. The default is the value of the Current property.

See Also

Reference

TemplateBasedControl Class

TemplateBasedControl Members

Microsoft.SharePoint.WebControls Namespace