ICryptAttributes::AddRange 方法 (certenroll.h)

AddRange 方法會將 ICryptAttribute 物件的範圍新增至集合。 屬性包含在另一個 ICryptAttributes 集合中。

語法

HRESULT AddRange(
  [in] ICryptAttributes *pValue
);

參數

[in] pValue

ICryptAttributes 介面的指標,其中包含要加入的屬性集合。

傳回值

如果函式成功,函式會傳回 S_OK

如果函式失敗,它會傳回 指出錯誤的 HRESULT 值。 如需常見錯誤碼的清單,請參閱 一般 HRESULT 值

規格需求

需求
最低支援的用戶端 Windows Vista [僅限傳統型應用程式]
最低支援的伺服器 Windows Server 2008 [僅限傳統型應用程式]
目標平台 Windows
標頭 certenroll.h
Dll CertEnroll.dll

另請參閱

ICryptAttribute

ICryptAttributes

IX509Attribute

IX509AttributeExtensions

IX509Attributes