Share via


IMap::get_Size method

Gets the number of items in the IMap.

Syntax

HRESULT get_Size(
  [out] unsigned int *size
);

Parameters

  • size [out]
    Type: unsigned int*

    The number of items in the map.

Return value

Type: HRESULT

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

Windows.Foundation.Collections.h

See also

IMap