Skip to content

Latest commit

 

History

History
101 lines (68 loc) · 2.98 KB

nf-iads-iadscollection-add.md

File metadata and controls

101 lines (68 loc) · 2.98 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:iads.IADsCollection.Add
IADsCollection::Add (iads.h)
Adds a named item to the collection.
Add
Add method [ADSI]
Add method [ADSI]
IADsCollection interface
IADsCollection interface [ADSI]
Add method
IADsCollection.Add
IADsCollection::Add
_ds_iadscollection_add
adsi.iadscollection__add
adsi.iadscollection_add
iads/IADsCollection::Add
adsi\iadscollection_add.htm
adsi
c4f0dc3e-238c-4fd3-adb7-9d467efc8c3d
12/05/2018
Add, Add method [ADSI], Add method [ADSI],IADsCollection interface, IADsCollection interface [ADSI],Add method, IADsCollection.Add, IADsCollection::Add, _ds_iadscollection_add, adsi.iadscollection__add, adsi.iadscollection_add, iads/IADsCollection::Add
iads.h
Windows
Windows Vista
Windows Server 2008
Activeds.dll
Windows
19H1
IADsCollection::Add
iads/IADsCollection::Add
c++
APIRef
kbSyntax
COM
Activeds.dll
IADsCollection.Add

IADsCollection::Add

-description

The IADsCollection::Add method adds a named item to the collection.

-parameters

-param bstrName [in]

The BSTR value that specifies the item name. IADsCollection::GetObject and IADsCollection::Remove reference the item by this name.

-param vItem [in]

Item value. When the item is an object, this parameter holds the IDispatch interface pointer on the object.

-returns

This method supports the standard return values, as well as the following.

For more information and other return values, see ADSI Error Codes.

-remarks

Collections for a directory service can also consist of a set of immutable objects.

This method is not supported in any of the ADSI system providers.

-see-also

ADSI Error Codes

ADSI System Providers

IADsCollection

IADsCollection::GetObject

IADsCollection::Remove

IDispatch