Class SingleDecodeType

Class SingleDecodeType

Tên không gian: Aspose.BarCode.BarCodeRecognition Tổng hợp: Aspose.BarCode.dll (25.4.0)

Một loại decode. xem loại decode để có được ví dụ.

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

Inheritance

object BaseDecodeType SingleDecodeType

Implements

IEquatable , IEquatable

Thành viên thừa kế

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

Mẫu này cho thấy làm thế nào để có được ví dụ của loại decode duy nhất.

SingleDecodeType singleType = DecodeType.QR 

Dim singleType As SingleDecodeType 
singleType = DecodeType.QR

Properties

TypeIndex

Nhận một chỉ số loại decode

public short TypeIndex { get; }

Giá trị bất động sản

short

TypeName

Nhận tên của loại decode

public string TypeName { get; }

Giá trị bất động sản

string

Methods

ContainsAny(Đánh giá BaseDecodeType[])

Trả lại một giá trị cho thấy liệu ứng dụng này có được bao gồm trong danh sách được chỉ định hay không.

public override bool ContainsAny(params BaseDecodeType[] types)

Parameters

types BaseDecodeType [ ]

Một loạt các loại decode đơn và multy

Returns

bool

Giá trị là đúng nếu bất kỳ loại nào được bao gồm trong

Equals(SingleDecodeType)

Quay lại một giá trị cho thấy nếu mẫu này tương đương với giá trị Aspose.BarCode.BarCodeRecognition.SingleDecodeType.

public override bool Equals(SingleDecodeType other)

Parameters

other SingleDecodeType

Một Aspose.BarCode.BarCodeRecognition.SingleDecodeType giá trị để so sánh với trường hợp này.

Returns

bool

đúng nếu obj có giá trị tương tự như trường hợp này; nếu không, giả.

Equals(đối tượng)

Quay lại một giá trị cho thấy nếu mẫu này tương đương với giá trị Aspose.BarCode.BarCodeRecognition.SingleDecodeType.

public override bool Equals(object obj)

Parameters

obj object

Một System.Object giá trị để so sánh với trường hợp này.

Returns

bool

đúng nếu obj có giá trị tương tự như trường hợp này; nếu không, giả.

GetHashCode()

Quay lại mã hash cho trường hợp này.

public override int GetHashCode()

Returns

int

Một 32-bit ký mã hash toàn bộ.

GetString()

Chuyển đổi ví dụ của SingleDecodeType sang đại diện chuỗi tương đương của nó.Định dạng string là: “Index:-1; Name:None”.

public string GetString()

Returns

string

Một string đại diện cho giá trị đầy đủ của loại decode duy nhất

GetString(SingleDecodeType)

Chuyển đổi ví dụ của SingleDecodeType sang đại diện chuỗi tương đương của nó.Định dạng string là: “Index:-1; Name:None”.

public static string GetString(SingleDecodeType instance)

Parameters

instance SingleDecodeType

Ví dụ đơn DecodeType để chuyển đổi

Returns

string

Một dòng đại diện cho giá trị đầy đủ của loại decode duy nhất

Parse(String)

Chuyển đổi đại diện hàng của tên của SingleDecodeType sang ví dụ của nó.

public static SingleDecodeType Parse(string stringDecodeType)

Parameters

stringDecodeType string

Một dòng chứa tên của một SingleDecodeType để chuyển đổi.

Returns

SingleDecodeType

Ví dụ Aspose.BarCode.BarCodeRecognition.SingleDecodeType, nếu chuyển đổi thành công; nếu không, nó sẽ trở lại Đánh giá.BarCode.BarCodeRecognition.DecodeType.No.

ToString()

Quay lại tên của SingleDecodeType như một dòng.

public override string ToString()

Returns

string

Một string đại diện cho tên của loại decode duy nhất

 Tiếng Việt