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.5.0.0 (0.5.0.0)

Syntax

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

Parameters

leaf
Oid
The object to be tested

Return Value

True if leaf is in the tree.

See Also