GeneratedCodeAttribute Constructor
Collapse the table of content
Expand the table of content

GeneratedCodeAttribute Constructor (String, String)

 

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

Namespace:   System.CodeDom.Compiler
Assembly:  System (in System.dll)

public GeneratedCodeAttribute(
	string tool,
	string version
)

Parameters

tool
Type: System.String

The name of the tool that generated the code.

version
Type: System.String

The version of the tool that generated the code.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 2.0
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Windows Phone
Available since 8.1
Return to top
Show:
© 2016 Microsoft