OutputCacheProfileCollection.Set Method (OutputCacheProfile)

 

Sets the specified OutputCacheProfile object.

Namespace:   System.Web.Configuration
Assembly:  System.Web (in System.Web.dll)

Public Sub Set (
	user As OutputCacheProfile
)

The Set method modifies an existing OutputCacheProfileCollection element.

The following code example shows how to use the Set method.

' Using method RemoveAt.
formsAuthenticationCredentials.Users.RemoveAt(0)

If Not authenticationSection.SectionInformation.IsLocked Then
   configuration.Save()
End If

.NET Framework
Available since 2.0
Return to top
Show: