Class EndOfMibView
- Namespace
- Lextm.SharpSnmpLib
- Assembly
- SharpSnmpLib.dll
EndOfMibView exception.
public sealed class EndOfMibView : ISnmpData, IEquatable<EndOfMibView>
- Inheritance
-
EndOfMibView
- Implements
- Inherited Members
- Extension Methods
Constructors
EndOfMibView()
Initializes a new instance of the EndOfMibView class.
public EndOfMibView()
EndOfMibView(Tuple<int, byte[]>, Stream)
Initializes a new instance of the EndOfMibView class.
public EndOfMibView(Tuple<int, byte[]> length, Stream stream)
Parameters
Properties
TypeCode
Type code.
public SnmpType TypeCode { get; }
Property Value
Methods
AppendBytesTo(Stream)
Appends the bytes to Stream.
public void AppendBytesTo(Stream stream)
Parameters
stream
StreamThe stream.
Equals(EndOfMibView?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(EndOfMibView? other)
Parameters
other
EndOfMibViewAn object to compare with this object.
Returns
- bool
true if the current object is equal to theother
parameter; otherwise,false .
Equals(object?)
Determines whether the specified object is equal to the current EndOfMibView.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current EndOfMibView.
Returns
- bool
true if the specified object is equal to the current EndOfMibView; otherwise,false .
GetHashCode()
Serves as a hash function for a particular type.
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(EndOfMibView?, EndOfMibView?)
The equality operator.
public static bool operator ==(EndOfMibView? left, EndOfMibView? right)
Parameters
left
EndOfMibViewLeft EndOfMibView object
right
EndOfMibViewRight EndOfMibView object
Returns
- bool
Returns
true
if the values of its operands are equal,false
otherwise.
operator !=(EndOfMibView?, EndOfMibView?)
The inequality operator.
public static bool operator !=(EndOfMibView? left, EndOfMibView? right)
Parameters
left
EndOfMibViewLeft EndOfMibView object
right
EndOfMibViewRight EndOfMibView object
Returns
- bool
Returns
true
if the values of its operands are not equal,false
otherwise.