Table of contents
TOC
Collapse the table of content
Expand the table of content

SafeConvertExtensions.ToBoolean Method

SharePoint Dev Documents|Last Updated: 5/20/2017
|
1 Contributor

Converts the input string to a boolean and if null, it returns the default value.

Namespace:System
Assembly: OfficeDevPnP.Core.dll

Syntax

public static bool ToBoolean(this String input)

Parameters

input

  Type: System.String
  Input string.

Return Value

Type: bool

See also

© 2018 Microsoft