DefaultValueAttribute.SetValue Method (Object)

 
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.

Sets the default value for the property to which this attribute is bound.

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

protected void SetValue(
	object value
)

Parameters

value
Type: System.Object

The default value.

.NET Framework
Available since 2.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: