CodeSnippetStatement Constructor (String^)

 

Initializes a new instance of the CodeSnippetStatement class using the specified code fragment.

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

public:
CodeSnippetStatement(
	String^ value
)

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.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: