IPortableDeviceKeyCollection::Add method
The Add method adds a property key to the collection.
Syntax
HRESULT Add(
[in] REFPROPERTYKEY Key
);
Parameters
-
Key [in]
-
A REFPROPERTYKEY to add to the collection. This method copies the key to the collection, so you can release the local variable after calling this method.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
There is not enough memory available to add the key to the collection. |
Examples
For an example of how to use this method, see Retrieving Properties for a Single Object.
Requirements
Requirement | Value |
---|---|
Header |
|
Library |
|
See also
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기