LiteralEncoder.TaggedScalar Metoda

Definicja

Przeciążenia

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

Koduje typ i wartość literału przy użyciu określonych delegatów.

TaggedScalar(CustomAttributeElementTypeEncoder, ScalarEncoder)

Zwraca parę koderów, które muszą być używane do kodowania typu i wartości literału w kolejności, w której są wyświetlane na liście parametrów.

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

Źródło:
BlobEncoders.cs
Źródło:
BlobEncoders.cs
Źródło:
BlobEncoders.cs

Koduje typ i wartość literału przy użyciu określonych delegatów.

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))

Parametry

type
Action<CustomAttributeElementTypeEncoder>

Delegat używany do kodowania typu literału. Wywołana najpierw przez tę metodę.

scalar
Action<ScalarEncoder>

Delegat używany do kodowania wartości literału. Wywołana w sekundzie przez tę metodę.

Wyjątki

type lub scalar to null.

Dotyczy

TaggedScalar(CustomAttributeElementTypeEncoder, ScalarEncoder)

Źródło:
BlobEncoders.cs
Źródło:
BlobEncoders.cs
Źródło:
BlobEncoders.cs

Zwraca parę koderów, które muszą być używane do kodowania typu i wartości literału w kolejności, w której są wyświetlane na liście parametrów.

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)

Parametry

type
CustomAttributeElementTypeEncoder

Gdy ta metoda zostanie zwrócona, koder typu elementu atrybutu niestandardowego używany do kodowania typu literału.

scalar
ScalarEncoder

Gdy ta metoda zostanie zwrócona, skalarny zakodowany w celu zakodowania wartości literału.

Dotyczy