GeneratedCodeAttribute(String, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.