MethodSignature<TType> 結構

定義

表示方法 (定義、參考或獨立) 或屬性簽章。 針對屬性,簽章會符合具特殊 SignatureHeader 的 getter。

generic <typename TType>
public value class MethodSignature
public readonly struct MethodSignature<TType>
public struct MethodSignature<TType>
type MethodSignature<'ype> = struct
Public Structure MethodSignature(Of TType)

類型參數

TType

方法類型。

繼承
MethodSignature<TType>

建構函式

MethodSignature<TType>(SignatureHeader, TType, Int32, Int32, ImmutableArray<TType>)

使用指定的標頭、傳回型別及參數資訊,將 MethodSignature<TType> 結構的新執行個體初始化。

屬性

GenericParameterCount

取得方法的泛型型別參數數目。

Header

取得簽章的前置位元組資訊 (種類、呼叫慣例、旗標)。

ParameterTypes

取得方法的參數類型。

RequiredParameterCount

取得方法所需的參數數目。

ReturnType

取得方法的傳回型別。

適用於