0 out of 1 rated this helpful - Rate this topic

JsonObject.GetNamedBoolean method

Gets the Boolean value with the specified name, or NULL if no such named value is found.

Syntax

Public Function GetNamedBoolean(
  name As String 
) As Boolean

Parameters

name

Type: System.String [.NET] | Platform::String [C++]

The name.

Return value

Type: System.Boolean [.NET] | Platform::Boolean [C++]

The Boolean value with the specified name.

Note  The exception WEB_E_JSON_VALUE_NOT_FOUND is returned if the Boolean is not contained in the JsonObject

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.Data.Json
Windows::Data::Json [C++]

Metadata

Windows.winmd

See also

JsonObject

 

 

Build date: 12/4/2012

© 2013 Microsoft. All rights reserved.