SPHttpUtility.HtmlEncode SPHttpUtility.HtmlEncode SPHttpUtility.HtmlEncode Method

Definition

Overloads

HtmlEncode(String, TextWriter) HtmlEncode(String, TextWriter) HtmlEncode(String, TextWriter)
HtmlEncode(String) HtmlEncode(String) HtmlEncode(String)
HtmlEncode(Guid) HtmlEncode(Guid) HtmlEncode(Guid)
HtmlEncode(Int32) HtmlEncode(Int32) HtmlEncode(Int32)

HtmlEncode(String, TextWriter) HtmlEncode(String, TextWriter) HtmlEncode(String, TextWriter)

public:
 static void HtmlEncode(System::String ^ valueToEncode, System::IO::TextWriter ^ output);
public static void HtmlEncode (string valueToEncode, System.IO.TextWriter output);
Public Shared Sub HtmlEncode (valueToEncode As String, output As TextWriter)
Parameters
valueToEncode
String String String

HtmlEncode(String) HtmlEncode(String) HtmlEncode(String)

public:
 static System::String ^ HtmlEncode(System::String ^ valueToEncode);
public static string HtmlEncode (string valueToEncode);
Public Shared Function HtmlEncode (valueToEncode As String) As String
Parameters
valueToEncode
String String String
Returns

HtmlEncode(Guid) HtmlEncode(Guid) HtmlEncode(Guid)

public:
 static System::String ^ HtmlEncode(Guid valueToEncode);
public static string HtmlEncode (Guid valueToEncode);
Public Shared Function HtmlEncode (valueToEncode As Guid) As String
Parameters
valueToEncode
Guid Guid Guid
Returns

HtmlEncode(Int32) HtmlEncode(Int32) HtmlEncode(Int32)

public:
 static System::String ^ HtmlEncode(int valueToEncode);
public static string HtmlEncode (int valueToEncode);
Public Shared Function HtmlEncode (valueToEncode As Integer) As String
Parameters
valueToEncode
Int32 Int32 Int32
Returns

Applies to