Add one or many docs to a group

Namespace:  IpernityNET.IpernityObjects
Assembly:  IpernityNET (in IpernityNET.dll) Version: 0.3.1.0 (0.3.1.0)

Syntax

C#
public DocumentAddResult DocsAdd(
	IEnumerable<int> docIds
)
Visual Basic (Declaration)
Public Function DocsAdd ( _
	docIds As IEnumerable(Of Integer) _
) As DocumentAddResult
Visual C++
public:
DocumentAddResult^ DocsAdd(
	IEnumerable<int>^ docIds
)

Parameters

docIds
Type: System.Collections.Generic..::.IEnumerable<(Of <(Int32>)>)
A list of document IDs. (List may contain a maximum of 20 IDs)

Return Value

A DocumentAddResult object containing the status of each added documents

Remarks

This method encapsulates group.docs.add This method requires "write" permission on docs

Exceptions

ExceptionCondition
IpernityNET..::.IpernityExceptionThrowed when Ipernity returned an error
IpernityNET.IpernityObjects..::.ObjectNotConfiguredExceptionThrowed when an Ipernity object has not been configured. Use the method ConfigureIpernityObject(IpernityObject) to configure the object and allow it to interact with Ipernity

See Also