LiteralEncoder.TaggedScalar Méthode

Définition

Surcharges

TaggedScalar(Action<CustomAttributeElementTypeEncoder>, Action<ScalarEncoder>)

Encode le type et la valeur d'un littéral en utilisant les délégués spécifiés.

TaggedScalar(CustomAttributeElementTypeEncoder, ScalarEncoder)

Retourne une paire d’encodeurs qui doivent être utilisés pour encoder le type et la valeur d’un littéral dans l’ordre dans lequel ils apparaissent dans la liste de paramètres.

TaggedScalar(Action<CustomAttributeElementTypeEncoder>, Action<ScalarEncoder>)

Source:
BlobEncoders.cs
Source:
BlobEncoders.cs
Source:
BlobEncoders.cs

Encode le type et la valeur d'un littéral en utilisant les délégués spécifiés.

public:
 void TaggedScalar(Action<System::Reflection::Metadata::Ecma335::CustomAttributeElementTypeEncoder> ^ type, Action<System::Reflection::Metadata::Ecma335::ScalarEncoder> ^ scalar);
public void TaggedScalar (Action<System.Reflection.Metadata.Ecma335.CustomAttributeElementTypeEncoder> type, Action<System.Reflection.Metadata.Ecma335.ScalarEncoder> scalar);
member this.TaggedScalar : Action<System.Reflection.Metadata.Ecma335.CustomAttributeElementTypeEncoder> * Action<System.Reflection.Metadata.Ecma335.ScalarEncoder> -> unit
Public Sub TaggedScalar (type As Action(Of CustomAttributeElementTypeEncoder), scalar As Action(Of ScalarEncoder))

Paramètres

type
Action<CustomAttributeElementTypeEncoder>

Délégué utilisé pour encoder le type du littéral. Appelé en premier par cette méthode.

scalar
Action<ScalarEncoder>

Délégué utilisé pour encoder la valeur du littéral. Appelé en second par cette méthode.

Exceptions

type ou scalar est null.

S’applique à

TaggedScalar(CustomAttributeElementTypeEncoder, ScalarEncoder)

Source:
BlobEncoders.cs
Source:
BlobEncoders.cs
Source:
BlobEncoders.cs

Retourne une paire d’encodeurs qui doivent être utilisés pour encoder le type et la valeur d’un littéral dans l’ordre dans lequel ils apparaissent dans la liste de paramètres.

public:
 void TaggedScalar([Runtime::InteropServices::Out] System::Reflection::Metadata::Ecma335::CustomAttributeElementTypeEncoder % type, [Runtime::InteropServices::Out] System::Reflection::Metadata::Ecma335::ScalarEncoder % scalar);
public void TaggedScalar (out System.Reflection.Metadata.Ecma335.CustomAttributeElementTypeEncoder type, out System.Reflection.Metadata.Ecma335.ScalarEncoder scalar);
member this.TaggedScalar : CustomAttributeElementTypeEncoder * ScalarEncoder -> unit
Public Sub TaggedScalar (ByRef type As CustomAttributeElementTypeEncoder, ByRef scalar As ScalarEncoder)

Paramètres

type
CustomAttributeElementTypeEncoder

Lorsque cette méthode est retournée, encodeur de type d’élément d'attribut personnalisé utilisé pour encoder le type du littéral.

scalar
ScalarEncoder

Lorsque cette méthode est retournée, encodeur scalaire utilisé pour encoder la valeur du littéral.

S’applique à