Click or drag to resize

TypeOrValue Class

Represents either an SMI type or an SMI value.
Inheritance Hierarchy
SystemObject
  Lextm.SharpSnmpPro.MibTypeOrValue

Namespace: Lextm.SharpSnmpPro.Mib
Assembly: SharpSnmpPro.Mib (in SharpSnmpPro.Mib.dll) Version: 2.1.3+8c6e8963be682b1d7fd7055c260d7b3d449dbc11
Syntax
public class TypeOrValue

The TypeOrValue type exposes the following members.

Constructors
 NameDescription
Public methodTypeOrValue(ISmiType) Initializes a new instance of the TypeOrValue class with the specified SMI type.
Public methodTypeOrValue(ISmiValue) Initializes a new instance of the TypeOrValue class with the specified SMI value.
Top
Properties
 NameDescription
Public propertyType Gets the SMI type, if this instance represents a type; otherwise, null.
Public propertyValue Gets the SMI value, if this instance represents a value; otherwise, null.
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also