DefaultValueAttribute Constructor (Int16)

DefaultValueAttribute Constructor (Int16)

[ 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 16-bit signed integer.

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

public DefaultValueAttribute(
	short value
)

Parameters

value
Type: System.Int16
A 16-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