Search Results for

    Show / Hide Table of Contents

    Class PnPHttpUtility

    Inheritance
    System.Object
    PnPHttpUtility
    Namespace: PnP.Framework.Utilities
    Assembly: PnP.Framework.dll
    Syntax
    public static class PnPHttpUtility : object

    Methods

    ConvertSimpleHtmlToText(String, Int32)

    Converts an HTML string from a Windows SharePoint Services rich text field to plain text.

    Declaration
    public static string ConvertSimpleHtmlToText(string html, int maxLength)
    Parameters
    System.String html

    An HTML string that contains the contents of a Windows SharePoint Services rich text field.

    System.Int32 maxLength

    A 32-bit integer representing the maximum desired length of the returned string, or -1 to specify no maximum length.

    Returns
    System.String

    A plain-text string version of the string.

    Back to top PnP Framework
    Generated by DocFX with Material UI
    spacer