Udostępnij za pośrednictwem


CodeGeneration.EscapeBlockCommentContent(String) Method

Definition

Escapes content so that it is safe for inclusion in a block comment. For example: "<#" + EscapeBlockCommentContent(userContent) + "#>"

public:
 static System::String ^ EscapeBlockCommentContent(System::String ^ value);
public:
 static Platform::String ^ EscapeBlockCommentContent(Platform::String ^ value);
 static std::wstring EscapeBlockCommentContent(std::wstring const & value);
public static string EscapeBlockCommentContent (string value);
static member EscapeBlockCommentContent : string -> string
Public Shared Function EscapeBlockCommentContent (value As String) As String

Parameters

value
String

The content to be included in a block comment.

Returns

Content with all block comment characters escaped.

Applies to