Metadata |
Exception | Condition |
---|---|
ArgumentOutOfRangeException | value is out of range. |
When the Depth option is specified, it extends the list of metadata tag values returned by the GetMetadata() call. For each MetadataTag specified in the the GetMetadata() call, the method returns the value of the specified metadata tag (if it exists), plus all metadata tags below the specified entry up to the specified depth.
Three values are allowed for Depth:
0 - no entries below the specified metadata tag are returned.
1 - only entries immediately below the specified metadata tag are returned.
MaxValue - all entries below the specified metadata tag are returned.
Thus, a depth of 1 for a tag entry of "/a" will match "/a" as well as its children entries (e.g., "/a/b"), but will not match grandchildren entries (e.g., "/a/b/c").
If the Depth option is not specified, this is the same as specifying 0.