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

SafeConvertExtensions.ToInt64 Method

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

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

Namespace:System
Assembly: OfficeDevPnP.Core.dll

Syntax

public static long ToInt64(this String input, Int32 defaultValue)

Parameters

input

  Type: System.String
  Input string.

defaultValue

  Type: System.Int32
  A default value to return for a null input value.

Return Value

Type: long

See also

© 2018 Microsoft