共用方式為


SPHttpUtility.NoEncode Method (Object, TextWriter)

Retrieves the specified string object as an unencoded string, and appends it to the specified output stream.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

Syntax

'Declaration
Public Shared Sub NoEncode ( _
    valueToEncode As Object, _
    output As TextWriter _
)
'Usage
Dim valueToEncode As Object
Dim output As TextWriterSPHttpUtility.NoEncode(valueToEncode, output)
public static void NoEncode(
    Object valueToEncode,
    TextWriter output
)

Parameters

  • valueToEncode
    Type: System.Object

    An object that represents the string to be retrieved.

  • output
    Type: System.IO.TextWriter

    A T:System.IO.TextWriter object that represents the output stream to which to add the unencoded string.

Remarks

If either of the valueToEncode or ouput parameters is null , this method has no effect.

See Also

Reference

SPHttpUtility Class

SPHttpUtility Members

NoEncode Overload

Microsoft.SharePoint.Utilities Namespace