This topic has not yet been rated - Rate this topic

Item Property

IIS 7.0

Gets or sets an attribute with the specified name.

Namespace:  Microsoft.Web.Administration
Assembly:  Microsoft.Web.Administration (in Microsoft.Web.Administration.dll)
public Object this[
	string attributeName
] { get; set; }

Parameters

attributeName
Type: System..::..String
The name of the attribute.

Property Value

Type: System..::..Object
A ConfigurationAttribute object that has the specified attributeName.

You can also get or set an attribute value by using the GetAttributeValue or SetAttributeValue methods. For best system performance, you should use these methods rather than the Item property.

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ