Aspose::BarCode::BarCodeRecognition::SingleDecodeType class

SingleDecodeType class

Single decode type. See decode type to get instance.

class SingleDecodeType : public Aspose::BarCode::BarCodeRecognition::BaseDecodeType,
                         public System::IEquatable<System::SharedPtr<Aspose::BarCode::BarCodeRecognition::SingleDecodeType>>

Methods

MethodDescription
ContainsAny(const System::ArrayPtr<System::SharedPtr<BaseDecodeType>>&) overrideReturns a value indicating whether this instance is included into the list specified.
Equals(System::SharedPtr<SingleDecodeType>) overrideReturns a value indicating whether this instance is equal to a specified SingleDecodeType value.
Equals(System::SharedPtr<System::Object>) overrideReturns a value indicating whether this instance is equal to a specified SingleDecodeType value.
virtual Equals(System::SharedPtr<MultyDecodeType>)Returns a value indicating whether this instance is equal to a specified MultyDecodeType value.
Equals(System::SharedPtr<BaseDecodeType>) overrideReturns a value indicating whether this instance is equal to a specified BaseDecodeType value.
get_TypeIndex()Gets an index of decode type.
get_TypeName()Gets a name of decode type.
GetHashCode() const overrideReturns the hash code for this instance.
GetString()Converts the instance of SingleDecodeType to its equivalent string representation. The string format is: “Index:-1; Name:None”.
static GetString(System::SharedPtr<SingleDecodeType>)Converts the instance of SingleDecodeType to its equivalent string representation. The string format is: “Index:-1; Name:None”.
static Parse(System::String)Converts the string representation of the name of a SingleDecodeType to its instance.
SetTemplateWeakPtr(uint32_t) overrideSet n’th template argument a weak pointer (rather than shared). Allows switching pointers in containers to weak mode.
ToString() const overrideReturns the name of the given SingleDecodeType as a string.
static TryParse(System::String, System::SharedPtr<SingleDecodeType>&)Converts the string representation of a SingleDecodeType to its instance. A return value indicates whether the conversion succeeded or failed.
static TryParse(System::String, System::SharedPtr<MultyDecodeType>&)Converts the string representation of a MultyDecodeType to its instance. A return value indicates whether the conversion succeeded or failed.
static TryParse(System::String, System::SharedPtr<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.

Remarks

This sample shows how to get instance of single decode type.

[C#]
SingleDecodeType singleType = DecodeType.QR 

[VB.NET]
Dim singleType As SingleDecodeType 
singleType = DecodeType.QR

See Also