ImageGear.Web.UI Namespace Client API Library > ImageGear.Web.UI Namespace Client API~ImageGear.Web.UI_namespace > ImageGear.Web.UI Namespace Client API~ImageGear.Web.UI.ImGearDocumentCollection : removeAllDocuments Method |
ASP.NET Ajax Javascript (Specification) | |
---|---|
function removeAllDocuments() : (Any); |
ASP.NET Ajax Javascript (Usage) | |
---|---|
var resultVar = instanceOfImGearDocumentCollection.removeAllDocuments(); |
This function removes all documents from the collection. If the collection has no document, this function will do nothing and will not raise the documentRemoved event.
After this function removes each document, it will raise the documentRemoved event. In other words, a documentRemoved event will be fired for each document removed. Refer to the removeDocument method.for details.
ImageGear.Web.UI Namespace Client API~ImageGear.Web.UI.ImGearDocumentCollection
ImGearDocumentCollection Members