SetValue Method
Collapse the table of content
Expand the table of content

DefaultValueAttribute.SetValue Method

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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

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

'Declaration
Protected Sub SetValue ( _
	value As Object _
)

Parameters

value
Type: System.Object
The default value.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft