ITcLicenseDescCollection

ITcLicenseDescCollection is the index- and key-based collection of the currently loaded license descriptors. The collection is populated using the same license data source as ITcLicenseManager::QueryLicenses.

Properties

Property

Type

get/set

Description

Count

long*

get

Number of license descriptors held in the collection.

Item

ITcLicenseDesc**

get

Returns an entry from the collection based on a VARIANT index (position or key). For explicit GUID lookups, Lookup and TryLookup are the clearer options.

Methods

Method

Description

_NewEnum

Creates an enumerator over the contained license descriptors.

TryLookup

Search for a license by its GUID without having to force a failure if it is not found.

Lookup

Searches for a license by its GUID and returns an HRESULT indicating that no license was found.

Contains

Checks whether a license GUID is included in the collection.