Last modified: 28 March 2014
Name: H5Pget_nprops
Signature:
  herr_t `H5Pget_nprops`( hid_t `plist_id`, size_t *`nprops` )

Purpose:
  Queries the number of properties in a property list or class.

Description:
  `H5Pget_nprops` retrieves the number of properties in a property list or property list class.

  If `plist_id` is a property list identifier, the current number of properties in the list is returned in `nprops`.

  If `plist_id` is a property list class identifier, the number of registered properties in the class is returned in `nprops`.

Parameters:

  hid_t `plist_id` | IN: Identifier for property object to query
  size_t *`nprops` | OUT: Number of properties in object

Returns:
  Returns a non-negative value if successful; otherwise returns a negative value.

Fortran90 Interface: h5pget_nprops_f

      SUBROUTINE h5pget_nprops_f(prp_id, nprops, hdferr)
        IMPLICIT NONE
        INTEGER(HID_T), INTENT(IN) :: prp_id    ! Property list identifier
        INTEGER(SIZE_T), INTENT(OUT) :: nprops  ! Number of properties
        INTEGER, INTENT(OUT) :: hdferr          ! Error code
                                                ! 0 on success and -1 on failure
      END SUBROUTINE h5pget_nprops_f