共用方式為


SPHttpUtility.AddQuote Method

Include Protected Members
Include Inherited Members

Encloses the specified string in quotation marks.

Overload List

  Name Description
Public methodStatic member AddQuote(String) Encloses the specified string in quotation marks.
Public methodStatic member AddQuote(String, Char) Encloses the specified string in quotation marks using the specified character.
Public methodStatic member AddQuote(String, TextWriter) Encloses the specified string in quotation marks and appends the output to the specified output stream.
Public methodStatic member AddQuote(String, Char, TextWriter) Encloses the specified string in quotation marks using the specified character and appends it to the specified output stream.

Top

See Also

Reference

SPHttpUtility Class

SPHttpUtility Members

Microsoft.SharePoint.Utilities Namespace