Compares the passed object identifier against self to determine if self is the root of the passed object. If the passed object is in the same root tree as self then a true value is returned. Otherwise a false value is returned from the object.

Namespace: SnmpSharpNet
Assembly: SnmpSharpNet (in SnmpSharpNet.dll) Version: 0.9.1.0 (0.9.1)

Syntax

C#
public virtual bool IsRootOf(
	Oid leaf
)
Visual Basic
Public Overridable Function IsRootOf ( _
	leaf As Oid _
) As Boolean
Visual C++
public:
virtual bool IsRootOf(
	Oid^ leaf
)

Parameters

leaf
Type: SnmpSharpNet..::..Oid
The object to be tested

Return Value

True if leaf is in the tree.

See Also