DocumentSet.AddDocument Method (IXPathNavigable)DocumentSet.AddDocument Method (IXPathNavigable)DocumentSet::AddDocument Method (IXPathNavigable^)
Adds the document represented by the specified IXPathNavigableIXPathNavigableIXPathNavigable to the set of available documents,
and associates it with its document URI.
Syntax
Public Function AddDocument( _ navigable As System.Xml.XPath.IXPathNavigable _ ) As Boolean
public bool AddDocument( System.Xml.XPath.IXPathNavigable navigable )
public: bool AddDocument( System.Xml.XPath::IXPathNavigable^ navigable )
Parameters
- navigable
Type: System.Xml.XPath.IXPathNavigableSystem.Xml.XPath.IXPathNavigableSystem.Xml.XPath::IXPathNavigable^
The document to add to the DocumentSetDocumentSetDocumentSet.
Return Value
Type: System.BooleanSystem.BooleanSystem::Boolean
true
True
true
if the document was added to the DocumentSetDocumentSetDocumentSet;
false
False
false
otherwise.
Exceptions
Exception | Condition |
ArgumentNullExceptionArgumentNullExceptionArgumentNullException |
navigable is null
a null reference (Nothing in Visual Basic)
nullptr .
|
ArgumentExceptionArgumentExceptionArgumentException |
|