Skip to content

Latest commit

 

History

History
47 lines (26 loc) · 1.36 KB

deprecatedattribute_deprecatedattribute_1908385198.md

File metadata and controls

47 lines (26 loc) · 1.36 KB
-api-id -api-type
M:Windows.Foundation.Metadata.DeprecatedAttribute.#ctor(System.String,Windows.Foundation.Metadata.DeprecationType,System.UInt32,System.Type)
winrt constructor

Windows.Foundation.Metadata.DeprecatedAttribute.#ctor(System.String,Windows.Foundation.Metadata.DeprecationType,System.UInt32,System.Type)

-description

Creates and initializes a new instance of the attribute.

-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 contract

The type of the API contract implementing the deprecated type or member.

-remarks

-see-also

-see-also

DeprecatedAttribute(String, DeprecationType, UInt32, Platform), DeprecatedAttribute(String, DeprecationType, UInt32, String), DeprecatedAttribute(String, DeprecationType, UInt32)

-examples