ICryptAttributes::AddRange method (certenroll.h)

The AddRange method adds a range of ICryptAttribute objects to the collection. The attributes are contained in another ICryptAttributes collection.

Syntax

HRESULT AddRange(
  [in] ICryptAttributes *pValue
);

Parameters

[in] pValue

Pointer to an ICryptAttributes interface that contains the attribute collection to add.

Return value

If the function succeeds, the function returns S_OK.

If the function fails, it returns an HRESULT value that indicates the error. For a list of common error codes, see Common HRESULT Values.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header certenroll.h
DLL CertEnroll.dll

See also

ICryptAttribute

ICryptAttributes

IX509Attribute

IX509AttributeExtensions

IX509Attributes