共用方式為


DelegateControl.Scope Property

Gets or sets the scope of the delegate control.

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

Syntax

'Declaration
Public Property Scope As String
    Get
    Set
'Usage
Dim instance As DelegateControl
Dim value As String

value = instance.Scope

instance.Scope = value
public string Scope { get; set; }

Property Value

Type: System.String
A string that specifies the scope, which can be Farm, WebApplication, Site, or Web. If you do not specify a scope, the delegate control applies to all scopes.

See Also

Reference

DelegateControl Class

DelegateControl Members

Microsoft.SharePoint.WebControls Namespace