Count Property (CustomMetadata Collection)

The Count property gets the number of custom metadata items in the collection.

Syntax

long = objMC.Count

Element

Description

long

The number of custom metadata items in the collection, returned as a long integer.

objMC

A collection of custom metadata items.