Condividi tramite


TemplateBasedControl.RenderContext Property

Gets or sets the Windows SharePoint Services context in which the control is rendered.

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

Syntax

Public Property RenderContext As SPContext
    Get
    Set

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