Class IteratorOptions
Options for XMPIterator
construction.
public sealed class IteratorOptions : Options
- Inheritance
-
IteratorOptions
- Inherited Members
Constructors
IteratorOptions()
public IteratorOptions()
Fields
JUST_CHILDREN
Just do the immediate children of the root, default is subtree.
public const int JUST_CHILDREN = 256
Field Value
JUST_LEAFNAME
Return just the leaf part of the path, default is the full path.
public const int JUST_LEAFNAME = 1024
Field Value
JUST_LEAFNODES
Just do the leaf nodes, default is all nodes in the subtree.
public const int JUST_LEAFNODES = 512
Field Value
Remarks
Just do the leaf nodes, default is all nodes in the subtree. Bugfix #2658965: If this option is set the Iterator returns the namespace of the leaf instead of the namespace of the base property.
OMIT_QUALIFIERS
Omit all qualifiers.
public const int OMIT_QUALIFIERS = 4096
Field Value
Methods
DefineOptionName(int)
protected override string DefineOptionName(int option)
Parameters
option
int
Returns
- See Also
GetValidOptions()
protected override int GetValidOptions()
Returns
- See Also
IsJustChildren()
public bool IsJustChildren()
Returns
- bool
Returns whether the option is set.
IsJustLeafname()
public bool IsJustLeafname()
Returns
- bool
Returns whether the option is set.
IsJustLeafnodes()
public bool IsJustLeafnodes()
Returns
- bool
Returns whether the option is set.
IsOmitQualifiers()
public bool IsOmitQualifiers()
Returns
- bool
Returns whether the option is set.
SetJustChildren(bool)
Sets the option and returns the instance.
public IteratorOptions SetJustChildren(bool value)
Parameters
value
boolthe value to set
Returns
- IteratorOptions
Returns the instance to call more set-methods.
SetJustLeafname(bool)
Sets the option and returns the instance.
public IteratorOptions SetJustLeafname(bool value)
Parameters
value
boolthe value to set
Returns
- IteratorOptions
Returns the instance to call more set-methods.
SetJustLeafnodes(bool)
Sets the option and returns the instance.
public IteratorOptions SetJustLeafnodes(bool value)
Parameters
value
boolthe value to set
Returns
- IteratorOptions
Returns the instance to call more set-methods.
SetOmitQualifiers(bool)
Sets the option and returns the instance.
public IteratorOptions SetOmitQualifiers(bool value)
Parameters
value
boolthe value to set
Returns
- IteratorOptions
Returns the instance to call more set-methods.