Click or drag to resize

NamedConstraintElement Class

Represents a named constraint element for SNMP, which can be present, absent, or optional, and may have an associated constraint.
Inheritance Hierarchy
SystemObject
  Lextm.SharpSnmpPro.MibConstraintElement
    Lextm.SharpSnmpPro.MibNamedConstraintElement

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

The NamedConstraintElement type exposes the following members.

Constructors
 NameDescription
Public methodNamedConstraintElement Initializes a new instance of the NamedConstraintElement class with the specified name.
Top
Properties
 NameDescription
Public propertyAbsent Gets or sets a value indicating whether the element is absent.
Public propertyConstraint Gets or sets the associated constraint.
Public propertyElement Gets or sets the next constraint element in the chain.
(Inherited from ConstraintElement)
Public propertyExceptConstraint Gets or sets the constraint that, if satisfied, will cause this constraint to be excluded.
(Inherited from ConstraintElement)
Public propertyName Gets or sets the name of the constraint element.
Public propertyOptinal Gets or sets a value indicating whether the element is optional.
Public propertyPresent Gets or sets a value indicating whether the element is present.
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)
Public methodVerify Verifies whether the specified SNMP data satisfies the constraint.
(Inherited from ConstraintElement)
Top
See Also