SignatureHeader SignatureHeader SignatureHeader SignatureHeader Struct

定義

表示簽章 Blob 的前置位元組所指定的簽章特性。Represents the signature characteristics specified by the leading byte of signature blobs.

public value class SignatureHeader : IEquatable<System::Reflection::Metadata::SignatureHeader>
public struct SignatureHeader : IEquatable<System.Reflection.Metadata.SignatureHeader>
type SignatureHeader = struct
Public Structure SignatureHeader
Implements IEquatable(Of SignatureHeader)
繼承
SignatureHeaderSignatureHeaderSignatureHeaderSignatureHeader
實作

備註

這個標頭位元組存在於所有方法定義、方法參考、獨立方法、欄位、屬性和區域變數簽章中, 但不在類型規格簽章中。This header byte is present in all method definition, method reference, standalone method, field, property, and local variable signatures, but not in type specification signatures.

建構函式

SignatureHeader(Byte) SignatureHeader(Byte) SignatureHeader(Byte) SignatureHeader(Byte)

使用指定的位元組值,初始化 SignatureHeader 結構的新執行個體。Initializes a new instance of the SignatureHeader structure using the specified byte value.

SignatureHeader(SignatureKind, SignatureCallingConvention, SignatureAttributes) SignatureHeader(SignatureKind, SignatureCallingConvention, SignatureAttributes) SignatureHeader(SignatureKind, SignatureCallingConvention, SignatureAttributes) SignatureHeader(SignatureKind, SignatureCallingConvention, SignatureAttributes)

使用指定的簽章種類、呼叫慣例與簽章屬性,將 SignatureHeader 結構的新執行個體初始化。Initializes a new instance of the SignatureHeader structure using the specified signature kind, calling convention and signature attributes.

欄位

CallingConventionOrKindMask CallingConventionOrKindMask CallingConventionOrKindMask CallingConventionOrKindMask

取得呼叫慣例或簽章種類的遮罩值。Gets the mask value for the calling convention or signature kind. 預設 CallingConventionOrKindMask 值為 15 (0x0F)。The default CallingConventionOrKindMask value is 15 (0x0F).

屬性

Attributes Attributes Attributes Attributes

取得簽章屬性。Gets the signature attributes.

CallingConvention CallingConvention CallingConvention CallingConvention

取得呼叫慣例。Gets the calling convention.

HasExplicitThis HasExplicitThis HasExplicitThis HasExplicitThis

取得值,指出這個 SignatureHeader 結構是否具有 ExplicitThis 簽章屬性。Gets a value that indicates whether this SignatureHeader structure has the ExplicitThis signature attribute.

IsGeneric IsGeneric IsGeneric IsGeneric

取得值,指出這個 SignatureHeader 結構是否具有 Generic 簽章屬性。Gets a value that indicates whether this SignatureHeader structure has the Generic signature attribute.

IsInstance IsInstance IsInstance IsInstance

取得值,指出這個 SignatureHeader 結構是否具有 Instance 簽章屬性。Gets a value that indicates whether this SignatureHeader structure has the Instance signature attribute.

Kind Kind Kind Kind

取得簽章種類。Gets the signature kind.

RawValue RawValue RawValue RawValue

取得標頭位元組的未經處理值。Gets the raw value of the header byte.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

比對指定物件與此 SignatureHeader 是否相等。Compares the specified object with this SignatureHeader for equality.

Equals(SignatureHeader) Equals(SignatureHeader) Equals(SignatureHeader) Equals(SignatureHeader)

比較兩個 SignatureHeader 值是否相等。Compares two SignatureHeader values for equality.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

取得目前物件的雜湊碼。Gets a hash code for the current object.

ToString() ToString() ToString() ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

運算子

Equality(SignatureHeader, SignatureHeader) Equality(SignatureHeader, SignatureHeader) Equality(SignatureHeader, SignatureHeader) Equality(SignatureHeader, SignatureHeader)

比較兩個 SignatureHeader 值是否相等。Compares two SignatureHeader values for equality.

Inequality(SignatureHeader, SignatureHeader) Inequality(SignatureHeader, SignatureHeader) Inequality(SignatureHeader, SignatureHeader) Inequality(SignatureHeader, SignatureHeader)

判斷兩個 SignatureHeader 值是否不相等。Determines whether two SignatureHeader values are unequal.

適用於