Subelement.IsValidSubelementReference
Method
Description:
Checks if given Reference identifies either a valid element or subelement.
Checks if given Reference identifies either a valid element or subelement.
Remarks:
A reference to an element or subelement in a linked document is acceptable.
A reference to an element or subelement in a linked document is acceptable.
Parameters
| Parameter | Type | Description |
|---|---|---|
| aDoc | Document | The document. |
| reference | Reference | The reference that identifies an element or subelement. |
Return Value
| Type | Description |
|---|---|
| Boolean | True if %reference% identifies a valid element or subelement, false otherwise. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |