LiteralEncoder.TaggedVector 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| TaggedVector(Action<CustomAttributeArrayTypeEncoder>, Action<VectorEncoder>) |
使用指定的代理來編碼向量文字的型別與項目。 |
| TaggedVector(CustomAttributeArrayTypeEncoder, VectorEncoder) |
回傳一對編碼器,必須依照參數列表中的順序編碼向量文字的型別與項目。 |
TaggedVector(Action<CustomAttributeArrayTypeEncoder>, Action<VectorEncoder>)
使用指定的代理來編碼向量文字的型別與項目。
public:
void TaggedVector(Action<System::Reflection::Metadata::Ecma335::CustomAttributeArrayTypeEncoder> ^ arrayType, Action<System::Reflection::Metadata::Ecma335::VectorEncoder> ^ vector);
public void TaggedVector(Action<System.Reflection.Metadata.Ecma335.CustomAttributeArrayTypeEncoder> arrayType, Action<System.Reflection.Metadata.Ecma335.VectorEncoder> vector);
member this.TaggedVector : Action<System.Reflection.Metadata.Ecma335.CustomAttributeArrayTypeEncoder> * Action<System.Reflection.Metadata.Ecma335.VectorEncoder> -> unit
Public Sub TaggedVector (arrayType As Action(Of CustomAttributeArrayTypeEncoder), vector As Action(Of VectorEncoder))
參數
- arrayType
- Action<CustomAttributeArrayTypeEncoder>
一個用來編碼向量類型的代理。 此方法最先被呼叫。
- vector
- Action<VectorEncoder>
一個用來編碼向量項目的代理。 此方法稱為第二。
例外狀況
arrayType 或 vector 為 null。
適用於
TaggedVector(CustomAttributeArrayTypeEncoder, VectorEncoder)
回傳一對編碼器,必須依照參數列表中的順序編碼向量文字的型別與項目。
public:
void TaggedVector([Runtime::InteropServices::Out] System::Reflection::Metadata::Ecma335::CustomAttributeArrayTypeEncoder % arrayType, [Runtime::InteropServices::Out] System::Reflection::Metadata::Ecma335::VectorEncoder % vector);
public void TaggedVector(out System.Reflection.Metadata.Ecma335.CustomAttributeArrayTypeEncoder arrayType, out System.Reflection.Metadata.Ecma335.VectorEncoder vector);
member this.TaggedVector : CustomAttributeArrayTypeEncoder * VectorEncoder -> unit
Public Sub TaggedVector (ByRef arrayType As CustomAttributeArrayTypeEncoder, ByRef vector As VectorEncoder)
參數
- arrayType
- CustomAttributeArrayTypeEncoder
當此方法回傳時,會使用自訂屬性陣列類型編碼器來編碼向量的類型。
- vector
- VectorEncoder
當此方法回傳時,會使用向量編碼器來編碼向量中的項目。