Class BaseEncodeType

Class BaseEncodeType

Namespace: Aspose.BarCode.Generation
Assembly: Aspose.BarCode.dll (25.1.0)

คลาสพื้นฐานสำหรับ SymbologyEncodeType.

public class BaseEncodeType : IEquatable<baseencodetype>

การสืบทอด

objectBaseEncodeType

ที่สืบทอด

SymbologyEncodeType

การใช้งาน

IEquatable<baseencodetype>

สมาชิกที่สืบทอด

object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

คุณสมบัติ

Classification

รับการจำแนกประเภทของสัญลักษณ์นี้

public BarcodeClassifications Classification { get; }

ค่าของคุณสมบัติ

BarcodeClassifications

TypeIndex

รับดัชนีของประเภทการเข้ารหัส

public short TypeIndex { get; }

ค่าของคุณสมบัติ

short

TypeName

รับชื่อของประเภทการเข้ารหัส

[XmlSerialization]
public string TypeName { get; }

ค่าของคุณสมบัติ

string

วิธีการ

Equals(BaseEncodeType)

คืนค่าค่าที่บ่งชี้ว่าตัวอย่างนี้เท่ากับค่า Aspose.BarCode.Generation.BaseEncodeType ที่ระบุหรือไม่

public bool Equals(BaseEncodeType other)

พารามิเตอร์

other BaseEncodeType

ค่า Aspose.BarCode.Generation.BaseEncodeType ที่จะเปรียบเทียบกับตัวอย่างนี้

คืนค่า

bool

true หาก obj มีค่าเท่ากับตัวอย่างนี้; มิฉะนั้น false.

Equals(object)

คืนค่าค่าที่บ่งชี้ว่าตัวอย่างนี้เท่ากับค่า Aspose.BarCode.Generation.BaseEncodeType ที่ระบุหรือไม่

public override bool Equals(object obj)

พารามิเตอร์

obj object

ค่า System.Object ที่จะเปรียบเทียบกับตัวอย่างนี้

คืนค่า

bool

true หาก obj มีค่าเท่ากับตัวอย่างนี้; มิฉะนั้น false.

GetHashCode()

คืนค่าแฮชโค้ดสำหรับตัวอย่างนี้

public override int GetHashCode()

คืนค่า

int

แฮชโค้ดที่เป็นจำนวนเต็ม 32 บิต

GetString()

แปลงตัวอย่างของ BaseEncodeType เป็นการแทนค่าเป็นสตริงที่เทียบเท่า รูปแบบสตริงคือ: “Index:0; Name:Codabar”.

public string GetString()

คืนค่า

string

สตริงที่แสดงถึงค่าครบถ้วนของประเภทการเข้ารหัส

GetString(BaseEncodeType)

แปลงตัวอย่างของ BaseEncodeType เป็นการแทนค่าเป็นสตริงที่เทียบเท่า รูปแบบสตริงคือ: “Index:-1; Name:None”.

public static string GetString(BaseEncodeType instance)

พารามิเตอร์

instance BaseEncodeType

ตัวอย่าง BaseEncodeType ที่จะทำการแปลง

คืนค่า

string

สตริงที่แสดงถึงค่าครบถ้วนของประเภทการเข้ารหัสที่กำหนด

Parse(string)

แปลงการแทนค่าของชื่อของ BaseEncodeType เป็นตัวอย่างของมัน

public static BaseEncodeType Parse(string stringEncodeType)

พารามิเตอร์

stringEncodeType string

สตริงที่มีชื่อของ BaseEncodeType ที่จะทำการแปลง

คืนค่า

BaseEncodeType

ตัวอย่างของ Aspose.BarCode.Generation.BaseEncodeType หากการแปลงสำเร็จ; มิฉะนั้นจะคืนค่า Aspose.BarCode.BarCodeRecognition.DecodeType.None.

ToString()

คืนชื่อของ BaseEncodeType ที่กำหนดเป็นสตริง

public override string ToString()

คืนค่า

string

สตริงที่แสดงถึงชื่อของประเภทการเข้ารหัส

TryParse(string, out BaseEncodeType)

แปลงการแทนค่าของ BaseEncodeType เป็นตัวอย่างของมัน ค่าที่คืนบ่งชี้ว่าการแปลงสำเร็จหรือไม่

public static bool TryParse(string parsingType, out BaseEncodeType result)

พารามิเตอร์

parsingType string

สตริงในรูปแบบ “Index:-1; Name:None” ที่จะทำการแปลง

result BaseEncodeType

SingleEncodeType ที่แท้จริงจะถูกคืนค่าหากการแปลงสำเร็จ;

มิฉะนั้นจะคืนค่า null.

คืนค่า

bool

true หาก s ถูกแปลงสำเร็จ; มิฉะนั้น false.

TryParse(string, out SymbologyEncodeType)

แปลงการแทนค่าของ BaseEncodeType เป็นตัวอย่างของมัน ค่าที่คืนบ่งชี้ว่าการแปลงสำเร็จหรือไม่

public static bool TryParse(string parsingType, out SymbologyEncodeType result)

พารามิเตอร์

parsingType string

สตริงในรูปแบบ “Index:-1; Name:None” ที่จะทำการแปลง

result SymbologyEncodeType

SingleEncodeType ที่แท้จริงจะถูกคืนค่าหากการแปลงสำเร็จ;

มิฉะนั้นจะคืนค่า null.

คืนค่า

bool

true หาก s ถูกแปลงสำเร็จ; มิฉะนั้น false.

 แบบไทย