DeprecatedAttribute コンストラクター

定義

オーバーロード

DeprecatedAttribute(String, DeprecationType, UInt32)

属性の新しいインスタンスを作成して初期化します。

DeprecatedAttribute(String, DeprecationType, UInt32, String)

属性の新しいインスタンスを作成して初期化します。

DeprecatedAttribute(String, DeprecationType, UInt32, Type)

属性の新しいインスタンスを作成して初期化します。

DeprecatedAttribute(String, DeprecationType, UInt32, Platform)

ターゲット設定の Platform 値を含む、 属性の新しいインスタンスを作成して初期化します。

DeprecatedAttribute(String, DeprecationType, UInt32)

属性の新しいインスタンスを作成して初期化します。

public:
 DeprecatedAttribute(Platform::String ^ message, DeprecationType type, unsigned int version);
 DeprecatedAttribute(winrt::hstring const& message, DeprecationType const& type, uint32_t const& version);
public DeprecatedAttribute(string message, DeprecationType type, uint version);
function DeprecatedAttribute(message, type, version)
Public Sub New (message As String, type As DeprecationType, version As UInteger)

パラメーター

message
String

Platform::String

winrt::hstring

非推奨を説明し、代替 API の文字列名を指定するために、コンパイラやその他の開発者ツールで使用できる文字列メッセージ。

type
DeprecationType

列挙体の値。 既定値は Deprecate です

version
UInt32

unsigned int

uint32_t

非推奨が適用されるバージョンを示す定数。

こちらもご覧ください

適用対象

DeprecatedAttribute(String, DeprecationType, UInt32, String)

属性の新しいインスタンスを作成して初期化します。

public:
 DeprecatedAttribute(Platform::String ^ message, DeprecationType type, unsigned int version, Platform::String ^ contract);
 DeprecatedAttribute(winrt::hstring const& message, DeprecationType const& type, uint32_t const& version, winrt::hstring const& contract);
public DeprecatedAttribute(string message, DeprecationType type, uint version, string contract);
function DeprecatedAttribute(message, type, version, contract)
Public Sub New (message As String, type As DeprecationType, version As UInteger, contract As String)

パラメーター

message
String

Platform::String

winrt::hstring

非推奨を説明し、代替 API の文字列名を指定するために、コンパイラやその他の開発者ツールで使用できる文字列メッセージ。

type
DeprecationType

列挙体の値。 既定値は Deprecate です

version
UInt32

unsigned int

uint32_t

非推奨が適用されるバージョンを示す定数。

contract
String

Platform::String

winrt::hstring

非推奨の型またはメンバーを実装する API コントラクトの型を表す文字列。

こちらもご覧ください

適用対象

DeprecatedAttribute(String, DeprecationType, UInt32, Type)

属性の新しいインスタンスを作成して初期化します。

public:
 DeprecatedAttribute(Platform::String ^ message, DeprecationType type, unsigned int version, Platform::Type ^ contract);
public DeprecatedAttribute(string message, DeprecationType type, uint version, Type contract);
function DeprecatedAttribute(message, type, version, contract)
Public Sub New (message As String, type As DeprecationType, version As UInteger, contract As Type)

パラメーター

message
String

Platform::String

非推奨を説明し、代替 API の文字列名を指定するために、コンパイラやその他の開発者ツールで使用できる文字列メッセージ。

type
DeprecationType

列挙体の値。 既定値は Deprecate です

version
UInt32

unsigned int

非推奨が適用されるバージョンを示す定数。

contract
TypeName Type

非推奨の型またはメンバーを実装する API コントラクトの型。

適用対象

DeprecatedAttribute(String, DeprecationType, UInt32, Platform)

ターゲット設定の Platform 値を含む、 属性の新しいインスタンスを作成して初期化します。

public:
 DeprecatedAttribute(Platform::String ^ message, DeprecationType type, unsigned int version, Platform platform);
 DeprecatedAttribute(winrt::hstring const& message, DeprecationType const& type, uint32_t const& version, Platform const& platform);
public DeprecatedAttribute(string message, DeprecationType type, uint version, Platform platform);
function DeprecatedAttribute(message, type, version, platform)
Public Sub New (message As String, type As DeprecationType, version As UInteger, platform As Platform)

パラメーター

message
String

Platform::String

winrt::hstring

非推奨を説明し、代替 API の文字列名を指定するために、コンパイラやその他の開発者ツールで使用できる文字列メッセージ。

type
DeprecationType

列挙体の値。 既定値は Deprecate です

version
UInt32

unsigned int

uint32_t

非推奨が適用されるバージョンを示す定数。

platform
Platform

列挙体の値。 既定値は Windows です

適用対象