DefaultValueAttribute Constructor (Int32)

DefaultValueAttribute Constructor (Int32)

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

Initializes a new instance of the DefaultValueAttribute class using a 32-bit signed integer.

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

public DefaultValueAttribute(
	int value
)

Parameters

value
Type: System.Int32
A 32-bit signed integer that is the default value.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

Show:
© 2017 Microsoft