GeneratedCodeAttribute(String, String) Constructor

Definition

Initializes a new instance of the GeneratedCodeAttribute class specifying the name and version of the tool that generated the code.

public:
 GeneratedCodeAttribute(System::String ^ tool, System::String ^ version);
public GeneratedCodeAttribute (string tool, string version);
public GeneratedCodeAttribute (string? tool, string? version);
new System.CodeDom.Compiler.GeneratedCodeAttribute : string * string -> System.CodeDom.Compiler.GeneratedCodeAttribute
Public Sub New (tool As String, version As String)

Parameters

tool
String

The name of the tool that generated the code.

version
String

The version of the tool that generated the code.

Applies to