Class SingleDecodeType

Class SingleDecodeType

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

単一デコードタイプ。インスタンスを取得するにはデコードタイプを参照してください。

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

継承

objectBaseDecodeTypeSingleDecodeType

実装

IEquatable<basedecodetype>, IEquatable<singledecodetype>

継承メンバー

BaseDecodeType.ContainsAny(params BaseDecodeType[]), BaseDecodeType.Equals(SingleDecodeType), BaseDecodeType.Equals(MultyDecodeType), BaseDecodeType.Equals(BaseDecodeType), BaseDecodeType.Equals(object), BaseDecodeType.GetHashCode(), 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()

このサンプルは、単一デコードタイプのインスタンスを取得する方法を示しています。

SingleDecodeType singleType = DecodeType.QR 

Dim singleType As SingleDecodeType 
singleType = DecodeType.QR

プロパティ

TypeIndex

デコードタイプのインデックスを取得します。

public short TypeIndex { get; }

プロパティ値

short

TypeName

デコードタイプの名前を取得します。

public string TypeName { get; }

プロパティ値

string

メソッド

ContainsAny(params BaseDecodeType[])

このインスタンスが指定されたリストに含まれているかどうかを示す値を返します。

public override bool ContainsAny(params BaseDecodeType[] types)

パラメータ

types BaseDecodeType[]

単一およびマルチデコードタイプの配列

戻り値

bool

含まれている場合は値がtrueになります。

Equals(SingleDecodeType)

このインスタンスが指定されたAspose.BarCode.BarCodeRecognition.SingleDecodeType値と等しいかどうかを示す値を返します。

public override bool Equals(SingleDecodeType other)

パラメータ

other SingleDecodeType

このインスタンスと比較するAspose.BarCode.BarCodeRecognition.SingleDecodeType値。

戻り値

bool

true このインスタンスと同じ値を持つ場合; それ以外の場合はfalse

Equals(object)

このインスタンスが指定されたAspose.BarCode.BarCodeRecognition.SingleDecodeType値と等しいかどうかを示す値を返します。

public override bool Equals(object obj)

パラメータ

obj object

このインスタンスと比較するSystem.Object値。

戻り値

bool

true このインスタンスと同じ値を持つ場合; それ以外の場合はfalse

GetHashCode()

このインスタンスのハッシュコードを返します。

public override int GetHashCode()

戻り値

int

32ビット符号付き整数ハッシュコード。

GetString()

SingleDecodeTypeのインスタンスをその等価な文字列表現に変換します。 文字列形式は: “Index:-1; Name:None” です。

public string GetString()

戻り値

string

単一デコードタイプの完全な値を表す文字列

GetString(SingleDecodeType)

SingleDecodeTypeのインスタンスをその等価な文字列表現に変換します。 文字列形式は: “Index:-1; Name:None” です。

public static string GetString(SingleDecodeType instance)

パラメータ

instance SingleDecodeType

変換するSingleDecodeTypeインスタンス

戻り値

string

指定された単一デコードタイプの完全な値を表す文字列

Parse(string)

SingleDecodeTypeの名前の文字列表現をそのインスタンスに変換します。

public static SingleDecodeType Parse(string stringDecodeType)

パラメータ

stringDecodeType string

変換するSingleDecodeTypeの名前を含む文字列。

戻り値

SingleDecodeType

変換が成功した場合はAspose.BarCode.BarCodeRecognition.SingleDecodeTypeのインスタンス; そうでない場合はAspose.BarCode.BarCodeRecognition.DecodeType.Noneを返します。

ToString()

指定されたSingleDecodeTypeの名前を文字列として返します。

public override string ToString()

戻り値

string

単一デコードタイプの名前を表す文字列

 日本語