ConfigurationPropertyAttribute.DefaultValue Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the default value for the decorated property.

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

member DefaultValue : Object with get, set

Property Value

Type: System.Object

The object representing the default value of the decorated configuration-element property.

The following example shows how to use the DefaultValue property.

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

.NET Framework
Available since 2.0
Return to top
Show: