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.

 

 

 

 

 

 

 

ScriptReferenceCollection Class

Provides access to ScriptReference objects that represent client script files.

Syntax

CSharp

[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class ScriptReferenceCollection : Collection<ScriptReference>

VisualBasic

<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level := AspNetHostingPermissionLevel.Minimal)> _
Public Class ScriptReferenceCollection _
	Inherits Collection(Of ScriptReference)

ManagedCPlusPlus

[AspNetHostingPermissionAttribute(SecurityAction::LinkDemand, Level = AspNetHostingPermissionLevel::Minimal)]
[AspNetHostingPermissionAttribute(SecurityAction::InheritanceDemand, Level = AspNetHostingPermissionLevel::Minimal)]
public ref class ScriptReferenceCollection : public Collection<ScriptReference^>

JSharp

/** @attribute AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal) */
/** @attribute AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal) */
public class ScriptReferenceCollection extends Collection<ScriptReference>

Members

IconMemberDescription
ScriptReferenceCollectionNew()Initializes a new instance of the ScriptReferenceCollection class.
Add(ScriptReference)Adds an object to the end of the Collection. (Inherited from Collection<(Of ScriptReference>).)
Clear()Removes all elements from the Collection. (Inherited from Collection<(Of ScriptReference>).)
ClearItems()Removes all elements from the Collection. (Inherited from Collection<(Of ScriptReference>).)
Contains(ScriptReference)Determines whether an element is in the Collection. (Inherited from Collection<(Of ScriptReference>).)
CopyTo(ScriptReference[](), Int32)Copies the entire Collection to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from Collection<(Of ScriptReference>).)
CountGets the number of elements actually contained in the Collection. (Inherited from Collection<(Of ScriptReference>).)
Equals(Object)Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Finalize()Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
GetEnumerator()Returns an enumerator that iterates through the Collection. (Inherited from Collection<(Of ScriptReference>).)
GetHashCode()Serves as a hash function for a particular type. (Inherited from Object.)
GetType()Gets the Type of the current instance. (Inherited from Object.)
IndexOf(ScriptReference)Searches for the specified object and returns the zero-based index of the first occurrence within the entire Collection. (Inherited from Collection<(Of ScriptReference>).)
Insert(Int32, ScriptReference)Inserts an element into the Collection at the specified index. (Inherited from Collection<(Of ScriptReference>).)
InsertItem(Int32, ScriptReference)Inserts an element into the Collection at the specified index. (Inherited from Collection<(Of ScriptReference>).)
Item(Int32)Gets or sets the element at the specified index. (Inherited from Collection<(Of ScriptReference>).)
ItemsGets a IList wrapper around the Collection. (Inherited from Collection<(Of ScriptReference>).)
MemberwiseClone()Creates a shallow copy of the current Object. (Inherited from Object.)
Remove(ScriptReference)Removes the first occurrence of a specific object from the Collection. (Inherited from Collection<(Of ScriptReference>).)
RemoveAt(Int32)Removes the element at the specified index of the Collection. (Inherited from Collection<(Of ScriptReference>).)
RemoveItem(Int32)Removes the element at the specified index of the Collection. (Inherited from Collection<(Of ScriptReference>).)
SetItem(Int32, ScriptReference)Replaces the element at the specified index. (Inherited from Collection<(Of ScriptReference>).)
ToString()Returns a String that represents the current Object. (Inherited from Object.)

Permissions

  • AspNetHostingPermission

    for operating in a hosted environment. Demand value: LinkDemand. Permission value: Minimal.

  • AspNetHostingPermission

    for operating in a hosted environment. Demand value: InheritanceDemand. Permission value: Minimal.

Inheritance Hierarchy

Object

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