CodeSnippetStatement Constructor (String^)
.NET Framework (current version)
Initializes a new instance of the CodeSnippetStatement class using the specified code fragment.
Assembly: System (in System.dll)
Parameters
- value
-
Type:
System::String^
The literal code fragment of the statement to represent.
The following example creates an instance of the CodeSnippetStatement class using a literal code fragment. This code example is part of a larger example provided for the CodeRegionDirective class.
.NET Framework
Available since 1.1
Available since 1.1
Show: