DynamicAttribute Constructor ()

 

Initializes a new instance of the DynamicAttribute class.

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

public DynamicAttribute()

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.

Universal Windows Platform
Available since 8
.NET Framework
Available since 4.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 4.0
Windows Phone Silverlight
Available since 8.0
Windows Phone
Available since 8.1
Return to top
Show: