Class SingleDecodeType
ชื่อพื้นที่: Aspose.BarCode.BarCodeRecognition การประกอบ: Aspose.BarCode.dll (25.4.0)
ประเภทการตกแต่งเดียว ดู ประเภทการตกแต่งเพื่อรับตัวอย่าง
public sealed class SingleDecodeType : BaseDecodeType, IEquatable<basedecodetype>, IEquatable<singledecodetype>
Inheritance
object ← BaseDecodeType ← SingleDecodeType
Implements
อนุญาโตตุลาการ
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
ตัวอย่างนี้แสดงให้เห็นวิธีที่จะได้รับตัวอย่างของประเภทการตกแต่งเดียว
SingleDecodeType singleType = DecodeType.QR
Dim singleType As SingleDecodeType
singleType = DecodeType.QR
Properties
TypeIndex
ได้รับการดัชนีประเภท decode
public short TypeIndex { get; }
คุณสมบัติมูลค่า
TypeName
ได้รับชื่อของประเภท decode
public string TypeName { get; }
คุณสมบัติมูลค่า
Methods
ContainsAny(พารามิ BaseDecodeType[])
กลับค่าที่แสดงให้เห็นว่าตัวอย่างนี้จะรวมอยู่ในรายการที่ระบุ
public override bool ContainsAny(params BaseDecodeType[] types)
Parameters
types
BaseDecodeType
[ ]
ชนิดเดี่ยวและหลายประเภท decode
Returns
หมายเลขที่ถูกต้องหากประเภทใด ๆ ที่รวมอยู่ใน
Equals(SingleDecodeType)
กลับค่าแสดงให้เห็นว่าตัวอย่างนี้เท่ากับค่า Aspose.BarCode.BarCodeRecognition.SingleDecodeType ที่ระบุไว้
public override bool Equals(SingleDecodeType other)
Parameters
other
SingleDecodeType
A Aspose.BarCode.BarCodeRecognition.SingleDecodeType ราคาในการเปรียบเทียบกับตัวอย่างนี้
Returns
จริง ถ้า obj มีมูลค่าเดียวกันกับตัวอย่างนี้ อย่างไรก็ตาม The translation of “false” to Thai is “เท็จ”..
Equals(วัตถุ)
กลับค่าแสดงให้เห็นว่าตัวอย่างนี้เท่ากับค่า Aspose.BarCode.BarCodeRecognition.SingleDecodeType ที่ระบุไว้
public override bool Equals(object obj)
Parameters
obj
object
ค่า System.Object เพื่อเปรียบเทียบกับตัวอย่างนี้
Returns
จริง ถ้า obj มีมูลค่าเดียวกันกับตัวอย่างนี้ อย่างไรก็ตาม The translation of “false” to Thai is “เท็จ”..
GetHashCode()
กลับรหัส hash สําหรับตัวอย่างนี้
public override int GetHashCode()
Returns
32 บิตลงชื่อรหัส hash ทั้งหมด
GetString()
แปลงตัวอักษรของ SingleDecodeType ไปยังตัวอักษรเครนที่เท่าเทียมกันรั้วรูปแบบคือ: “ดัชนี:-1; ชื่อ: ไม่มี”
public string GetString()
Returns
รั้วที่แสดงให้เห็นถึงค่าที่สมบูรณ์ของประเภทการตกแต่งเดียว
GetString(SingleDecodeType)
แปลงตัวอักษรของ SingleDecodeType ไปยังตัวอักษรเครนที่เท่าเทียมกันรั้วรูปแบบคือ: “ดัชนี:-1; ชื่อ: ไม่มี”
public static string GetString(SingleDecodeType instance)
Parameters
instance
SingleDecodeType
ตัวอย่าง SingleDecodeType เพื่อแปลง
Returns
รั้วที่แสดงให้เห็นถึงค่าทั้งหมดของประเภทการตกแต่งเดียว
Parse(รั้ว)
แปลงตัวแทนเส้นของชื่อ SingleDecodeType ในตัวอย่างของมัน
public static SingleDecodeType Parse(string stringDecodeType)
Parameters
stringDecodeType
string
ลวดที่มีชื่อของ SingleDecodeType เพื่อแปลง
Returns
ตัวอย่างของ Aspose.BarCode.BarCodeRecognition.SingleDecodeType หากการแปลงประสบความสําเร็จ Aspose.BarCode.BarCodeRecognition.DecodeType.None.
ToString()
กลับชื่อของ SingleDecodeType ที่กําหนดเป็น string
public override string ToString()
Returns
รั้วที่หมายถึงชื่อของประเภทการตกแต่งเดียว