DataClassificationAttribute Class

Definition

Base attribute for data classification.

C#
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.GenericParameter | System.AttributeTargets.Interface | System.AttributeTargets.Parameter | System.AttributeTargets.Property | System.AttributeTargets.ReturnValue | System.AttributeTargets.Struct, AllowMultiple=true)]
public class DataClassificationAttribute : Attribute
Inheritance
DataClassificationAttribute
Derived
Attributes

Constructors

Properties

Classification

Gets the classification represented by this attribute.

Notes

Gets or sets the notes.

Applies to

产品 版本
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Standard 2.0 (package-provided)