Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ConfigurationPropertyAttribute::DefaultValue Property

 

Gets or sets the default value for the decorated property.

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

public:
property Object^ DefaultValue {
	Object^ get();
	void set(Object^ value);
}

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:
© 2017 Microsoft