OutputCacheProfile.Name Property

 

Gets or sets the OutputCacheProfile name.

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

[<ConfigurationPropertyAttribute("name", IsRequired = true, IsKey = true,
    DefaultValue = "")>]
[<TypeConverterAttribute(typeof(WhiteSpaceTrimStringConverter))>]
[<StringValidatorAttribute(MinLength = 1)>]
member Name : string with get, set

Property Value

Type: System.String

The OutputCacheProfile name.

You use the Name to assign a value to the CacheProfile attribute of the directive if you want to apply the OutputCacheProfile values to a page or control.

The following code example shows how to use the Name property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: