Windows Dev Center

DeprecationType enumeration

Indicates a deprecation as Deprecate or Remove.

Syntax


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

Attributes

[Version(0x06030000)]

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 (device family)

Device family

Universal

API contract

Windows.Foundation.FoundationContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.FoundationContract.winmd

Requirements (operating system)

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

See also

DeprecatedAttribute

 

 

Show:
© 2015 Microsoft