MethodSignature<TType> Struct
Definizione
Rappresenta una firma di metodo (definizione, riferimento o autonomo) o di proprietà.Represents a method (definition, reference, or standalone) or property signature. Nel caso delle proprietà, la firma corrisponde a quella di un getter con SignatureHeaderdi distinzione.In the case of properties, the signature matches that of a getter with a distinguishing SignatureHeader.
generic <typename TType>
public value class MethodSignature
public struct MethodSignature<TType>
type MethodSignature<'ype> = struct
Public Structure MethodSignature(Of TType)
Parametri di tipo
- TType
Tipo di metodo.The method type.
- Ereditarietà
Costruttori
MethodSignature<TType>(SignatureHeader, TType, Int32, Int32, ImmutableArray<TType>) |
Inizializza una nuova istanza della struttura MethodSignature<TType> usando le informazioni specificate per intestazione, tipo restituito e parametro.Initializes a new instance of the MethodSignature<TType> structure using the specified header, return type, and parameter information. |
Proprietà
GenericParameterCount |
Ottiene il numero di parametri di tipo generico per il metodo.Gets the number of generic type parameters for the method. |
Header |
Ottiene le informazioni del byte di apertura della firma (tipo, convenzione di chiamata, flag).Gets the information in the leading byte of the signature (kind, calling convention, flags). |
ParameterTypes |
Ottiene i tipi dei parametri del metodo.Gets the method's parameter types. |
RequiredParameterCount |
Ottiene il numero di parametri richiesti per il metodo.Gets the number of parameters that are required for the method. |
ReturnType |
Ottiene il tipo restituito del metodo.Gets the return type of the method. |