DynamicAttribute Constructor
Collapse the table of content
Expand the table of content

DynamicAttribute Constructor

[ 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 DynamicAttribute class.

Namespace:  System.Runtime.CompilerServices
Assembly:  System.Core (in System.Core.dll)

'Declaration
Public Sub New

When used in an attribute specification, the default constructor is semantically equivalent to DynamicAttribute({ true }), and can be considered a shorthand for that expression. It should therefore only be used on an element of type Object.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft