Class BaseDecodeType

BaseDecodeType class

Base class for MultiDecodeType and SingleDecodeType.

public abstract class BaseDecodeType : IEquatable<BaseDecodeType>

Methods

NameDescription
abstract ContainsAny(params BaseDecodeType[])Determines whether any of the given decode types is included into
Equals(BaseDecodeType)Returns a value indicating whether this instance is equal to a specified BaseDecodeType value.
virtual Equals(MultiDecodeType)Returns a value indicating whether this instance is equal to a specified MultiDecodeType value.
override Equals(object)Returns a value indicating whether this instance is equal to a specified BaseDecodeType value.
virtual Equals(SingleDecodeType)Returns a value indicating whether this instance is equal to a specified SingleDecodeType value.
static TryParse(string, out BaseDecodeType)Converts the string representation of a BaseDecodeType to its instance, having determined the concrete type. A return value indicates whether the conversion succeeded or failed.
static TryParse(string, out MultiDecodeType)Converts the string representation of a MultiDecodeType to its instance. A return value indicates whether the conversion succeeded or failed.
static TryParse(string, out SingleDecodeType)Converts the string representation of a SingleDecodeType to its instance. A return value indicates whether the conversion succeeded or failed.

Examples

This sample shows how to use BaseDecodeType with SingleDecodeType and MultiDecodeType

[C#]
BaseDecodeType decodeOne = DecodeType.Code128;
BaseDecodeType decodeTwo = new MultiDecodeType(DecodeType.Code128, DecodeType.Code39, DecodeType.Code39FullASCII);
[VB.NET]
Dim decodeOne As BaseDecodeType = DecodeType.Code128
Dim decodeTwo As BaseDecodeType = New MultiDecodeType(DecodeType.Code128, DecodeType.Code39, DecodeType.Code39FullASCII)

See Also