Reference.Contains
Method
Description:
Checks if given reference identifies part of object identified by this reference.
Checks if given reference identifies part of object identified by this reference.
Remarks:
Can be used to check:
Can be used to check:
- If given Reference is a part of a particular Subelement identified by this Reference.
- If given Reference is a part of a particular Element identified by this Reference.
Parameters
| Parameter | Type | Description |
|---|---|---|
| reference | Reference | Another reference. |
Return Value
| Type | Description |
|---|---|
| Boolean | Returns true if given reference identifies part of object identified by this reference, false otherwise. |
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when argument is. |