Skip to content

Latest commit

 

History

History
38 lines (26 loc) · 1.4 KB

deprecatedattribute_deprecatedattribute_1103216178.md

File metadata and controls

38 lines (26 loc) · 1.4 KB
-api-id -api-type
M:Windows.Foundation.Metadata.DeprecatedAttribute.#ctor(System.String,Windows.Foundation.Metadata.DeprecationType,System.UInt32,Windows.Foundation.Metadata.Platform)
winrt method

Windows.Foundation.Metadata.DeprecatedAttribute.DeprecatedAttribute

-description

Creates and initializes a new instance of the attribute, including a Platform value for targeting.

-parameters

-param message

A string message that can be used by compilers and other developer tools to explain the deprecation and provide the string names of alternate API.

-param type

A value of the enumeration. The default is Deprecate.

-param version

A constant that indicates the version that the deprecation applies to.

-param platform

A value of the enumeration. The default is Windows.

-remarks

-examples

-see-also

-see-also

DeprecatedAttribute(String, DeprecationType, UInt32, String), DeprecatedAttribute(String, DeprecationType, UInt32, Type), DeprecatedAttribute(String, DeprecationType, UInt32)