ICryptAttributes::get_IndexByObjectId method (certenroll.h)

The IndexByObjectId property retrieves the index of an attribute by object identifier (OID).

This property is read-only.

Syntax

HRESULT get_IndexByObjectId(
  IObjectId *pObjectId,
  LONG      *pIndex
);

Parameters

pObjectId

pIndex

Return value

None

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