DeprecationType enumeration

DeprecationType enumeration

Indicates a deprecation as Deprecate or Remove.

Syntax


var value = Windows.Foundation.Metadata.DeprecationType.deprecate;

Members

The DeprecationType enumeration has these members.

MemberValueDescription
Deprecate | deprecate0

Compilers and other tools should treat the entity as deprecated. This is the default.

Remove | remove1

Compilers and other tools should treat the entity as removed.

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0

API contract

Windows.Foundation.FoundationContract, introduced version 1.0

Namespace

Windows.Foundation.Metadata
Windows::Foundation::Metadata [C++]

Metadata

Windows.Foundation.FoundationContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Foundation.Metadata
Windows::Foundation::Metadata [C++]

Metadata

Windows.winmd

Attributes

[Version(0x06030000)]

See also

DeprecatedAttribute

 

 

Show:
© 2017 Microsoft