Partager via


ScriptLink.Name property

Specifies the name of the script file.

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

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