DefaultValueAttribute::SetValue Method (Object^)

 

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: