ScriptLink.Name Property

Specifies the name of the script file.

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

Syntax

'Declaration
Public Property Name As String
    Get
    Set
'Usage
Dim instance As ScriptLink
Dim value As String

value = instance.Name

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

Property Value

Type: System.String
Returns String.

Examples

Microsoft.SharePoint.WebControls.ScriptLink.Register(this.Page, "PickerTreeDialog.js", true, true);
Microsoft.SharePoint.WebControls.ScriptLink.Register(Me.Page, "PickerTreeDialog.js", True, True)

See Also

Reference

ScriptLink Class

ScriptLink Members

Microsoft.SharePoint.WebControls Namespace