CodeSnippetCompileUnit Constructor (String^)
.NET Framework (current version)
Initializes a new instance of the CodeSnippetCompileUnit class.
Assembly: System (in System.dll)
Parameters
- value
-
Type:
System::String^
The literal code fragment to represent.
The following code example demonstrates how to create a new instance of the CodeSnippetCompileUnit class by using a string that represents literal code.
.NET Framework
Available since 1.1
Available since 1.1
Show: