DeprecationType Enumeration

Definition

Gibt eine Veraltetkeit als veraltet oder entfernen an.

public enum class DeprecationType
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
enum class DeprecationType
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
public enum DeprecationType
var value = Windows.Foundation.Metadata.DeprecationType.deprecate
Public Enum DeprecationType
Vererbung
DeprecationType
Attribute

Windows-Anforderungen

Gerätefamilie
Windows 10 (eingeführt in 10.0.10240.0)
API contract
Windows.Foundation.FoundationContract (eingeführt in v1.0)

Felder

Deprecate 0

Compiler und andere Tools sollten die Entität als veraltet behandeln. Dies ist die Standardoption.

Remove 1

Compiler und andere Tools sollten die Entität als entfernt behandeln.

Gilt für:

Weitere Informationen