Skip to content

Commit ddfc563

Browse files
author
Colin Robertson
authored
Update deprecating-types-and-members-c-cx.md
Add code formatting to links to prevent overlocalization and markdown processing issues.
1 parent 7dd72b6 commit ddfc563

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/cppcx/deprecating-types-and-members-c-cx.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ ms.assetid: b20b01c1-a439-4ff0-8cf3-d7280c492813
99
In C++/CX, deprecation of Windows Runtime types and members for producers and consumers by using the [Deprecated](/uwp/api/windows.foundation.metadata.deprecatedattribute) attribute is supported. If you consume an API to which this attribute has been applied, you get a compile-time warning message that indicates that the API is deprecated and also recommends an alternative API to use. In your own public types and methods, you can apply this attribute and supply your own custom message.
1010

1111
> [!CAUTION]
12-
> The [Deprecated](/uwp/api/windows.foundation.metadata.deprecatedattribute) attribute is for use only with Windows Runtime types. For standard C++ classes and members, use
13-
[[[deprecated]]](../cpp/deprecated-cpp.md) (C++14 and later) or [__declspec(deprecated)](../cpp/deprecated-cpp.md).
12+
> The [`Deprecated`](/uwp/api/windows.foundation.metadata.deprecatedattribute) attribute is for use only with Windows Runtime types. For standard C++ classes and members, use
13+
[`[[deprecated]]`](../cpp/deprecated-cpp.md) (C++14 and later) or [`__declspec(deprecated)`](../cpp/deprecated-cpp.md).
1414

1515
### Example
1616

0 commit comments

Comments
 (0)