Documentation for: ASP.NET Ajax Version 1.0

This documentation is for a previous version. For the current released version, see the ASP.NET Ajax documentation on MSDN.

 

 

 

 

 

 

 

ScriptReference Constructor (name, assembly)

Initializes a new instance of the ScriptReference class by using a specified name and assembly.

Syntax

CSharp

public ScriptReference (
	string name,
	string assembly
)

VisualBasic

Public Sub New ( _
	name As String, _
	assembly As String _
)

ManagedCPlusPlus

public:
ScriptReference (
	String^ name, 
	String^ assembly
)

JSharp

public ScriptReference (
	String name,
	String assembly
)

Parameters

name (String)

The name of the embedded resource that contains the client script file.

assembly (String)

The name of the assembly that contains the client script file as an embedded resource.

Assembly: System.Web.Extensions (Module: System.Web.Extensions)