Redigeeri

Jagamisviis:


ExperimentalAttribute(String) Constructor

Definition

Initializes a new instance of the ExperimentalAttribute class, specifying the ID that the compiler will use when reporting a use of the API the attribute applies to.

public:
 ExperimentalAttribute(System::String ^ diagnosticId);
public ExperimentalAttribute (string diagnosticId);
new System.Diagnostics.CodeAnalysis.ExperimentalAttribute : string -> System.Diagnostics.CodeAnalysis.ExperimentalAttribute
Public Sub New (diagnosticId As String)

Parameters

diagnosticId
String

The ID that the compiler will use when reporting a use of the API the attribute applies to.

Applies to