Click or drag to resize

ChoiceType Class

Represents a CHOICE type in SMI, which allows one of several types.
Inheritance Hierarchy
System.Object
  Lextm.SharpSnmpPro.Mib.ChoiceType

Namespace: Lextm.SharpSnmpPro.Mib
Assembly: SharpSnmpPro.Mib (in SharpSnmpPro.Mib.dll) Version: 2.1.3+8c6e8963be682b1d7fd7055c260d7b3d449dbc11
Syntax
public class ChoiceType : ISmiType, IConstruct, 
	IValidatable

The ChoiceType type exposes the following members.

Constructors
 NameDescription
Public methodChoiceType Initializes a new instance of the ChoiceType class.
Top
Properties
 NameDescription
Public propertyCharPositionInLine Gets the char position in line.
Public propertyElementTypes Gets or sets the element types that can be chosen.
Public propertyLine Gets the line number.
Public propertyModule Gets or sets the module.
Public propertyName Name.
Top
Methods
 NameDescription
Public methodAppend Appends the type name to the provided StringBuilder.
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 methodValidate Validates this entity.
Top
Extension Methods
 NameDescription
Public Extension MethodDecode Decodes the provided SNMP data into a human-readable string representation based on the specified SMI type.
(Defined by SmiTypeExtensions)
Public Extension MethodGetLastType The true base type of a syntax.
(Defined by SmiTypeExtensions)
Public Extension MethodVerify Verifies the input data against the syntax.
(Defined by SmiTypeExtensions)
Top
See Also