Class SingleDecodeType

Class SingleDecodeType

名称: Aspose.BarCode.BarCodeRecognition 聚集: Aspose.BarCode.dll (25.4.0)

单个 decode 类型. 查看 decode 类型 以获取例子。

public sealed class SingleDecodeType : BaseDecodeType, IEquatable<basedecodetype>, IEquatable<singledecodetype>

Inheritance

object BaseDecodeType SingleDecodeType

Implements

IEquatable , IEquatable

继承人

BaseDecodeType.ContainsAny(params BaseDecodeType[]) , BaseDecodeType.Equals(SingleDecodeType) , BaseDecodeType.Equals(MultyDecodeType) , BaseDecodeType.Equals(BaseDecodeType) , BaseDecodeType.Equals(object) , BaseDecodeType.TryParse(string, out SingleDecodeType) , BaseDecodeType.TryParse(string, out MultyDecodeType) , BaseDecodeType.TryParse(string, out BaseDecodeType) , object.GetType() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Examples

此样本显示如何获得单个 decode 类型的例子。

SingleDecodeType singleType = DecodeType.QR 

Dim singleType As SingleDecodeType 
singleType = DecodeType.QR

Properties

TypeIndex

收到 decode 类型指数

public short TypeIndex { get; }

财产价值

short

TypeName

获取代码类型的名称

public string TypeName { get; }

财产价值

string

Methods

ContainsAny(基因 基因 基因 基因 基因[])

返回一个值,表明这个例子是否被列入所指定的列表。

public override bool ContainsAny(params BaseDecodeType[] types)

Parameters

types BaseDecodeType ( )

多种单一和多种代码类型

Returns

bool

值是真实的,如果任何类型都包含在

Equals(SingleDecodeType)

返回一个值,表明这个例子是否相当于指定的 Aspose.BarCode.BarCodeRecognition.SingleDecodeType 值。

public override bool Equals(SingleDecodeType other)

Parameters

other SingleDecodeType

一个 Aspose.BarCode.BarCodeRecognition.SingleDecodeType 值与此例子相比。

Returns

bool

真实 如果 obj 具有与此例相同的值;否则, 虚假.

Equals(对象)

返回一个值,表明这个例子是否相当于指定的 Aspose.BarCode.BarCodeRecognition.SingleDecodeType 值。

public override bool Equals(object obj)

Parameters

obj object

一个系统.对象值与这个例子相比。

Returns

bool

真实 如果 obj 具有与此例相同的值;否则, 虚假.

GetHashCode()

返回此例的Hash代码。

public override int GetHashCode()

Returns

int

32位签署完整的哈希代码。

GetString()

将 SingleDecodeType 的例子转换为其相当的序列代表性。字符串格式是“指数:1;名称:没有”。

public string GetString()

Returns

string

表示单一代码类型的完整值的序列

GetString(SingleDecodeType)

将 SingleDecodeType 的例子转换为其相当的序列代表性。字符串格式是“指数:1;名称:没有”。

public static string GetString(SingleDecodeType instance)

Parameters

instance SingleDecodeType

SingleDecodeType 例子转换

Returns

string

一条列代表特定单一代码类型的完整值

Parse(线条)

将 SingleDecodeType 名称的序列代表转换为其例子。

public static SingleDecodeType Parse(string stringDecodeType)

Parameters

stringDecodeType string

一个包含一个单一DecodeType转换的名称的行。

Returns

SingleDecodeType

例如 Aspose.BarCode.BarCodeRecognition.SingleDecodeType,如果转换成功;否则,它将返回 此分類上一篇: BarCode.BarCodeRecognition.DecodeType.None.

ToString()

返回所提供的 SingleDecodeType 的名称作为行。

public override string ToString()

Returns

string

一条列代表单一代码类型的名称

 中文