BlobEncoder.CustomAttributeSignature 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| CustomAttributeSignature(Action<FixedArgumentsEncoder>, Action<CustomAttributeNamedArgumentsEncoder>) |
編碼自訂屬性簽名 blob。 |
| CustomAttributeSignature(FixedArgumentsEncoder, CustomAttributeNamedArgumentsEncoder) |
編碼自訂屬性簽名 blob。 回傳一對編碼器,必須依照參數列表中出現的順序使用。 |
CustomAttributeSignature(Action<FixedArgumentsEncoder>, Action<CustomAttributeNamedArgumentsEncoder>)
編碼自訂屬性簽名 blob。
public:
void CustomAttributeSignature(Action<System::Reflection::Metadata::Ecma335::FixedArgumentsEncoder> ^ fixedArguments, Action<System::Reflection::Metadata::Ecma335::CustomAttributeNamedArgumentsEncoder> ^ namedArguments);
public void CustomAttributeSignature(Action<System.Reflection.Metadata.Ecma335.FixedArgumentsEncoder> fixedArguments, Action<System.Reflection.Metadata.Ecma335.CustomAttributeNamedArgumentsEncoder> namedArguments);
member this.CustomAttributeSignature : Action<System.Reflection.Metadata.Ecma335.FixedArgumentsEncoder> * Action<System.Reflection.Metadata.Ecma335.CustomAttributeNamedArgumentsEncoder> -> unit
Public Sub CustomAttributeSignature (fixedArguments As Action(Of FixedArgumentsEncoder), namedArguments As Action(Of CustomAttributeNamedArgumentsEncoder))
參數
- fixedArguments
- Action<FixedArgumentsEncoder>
先呼叫,以編碼固定參數。
- namedArguments
- Action<CustomAttributeNamedArgumentsEncoder>
第二次呼叫,用來編碼有名稱的參數。
例外狀況
fixedArguments 或 namedArguments 為 null。
適用於
CustomAttributeSignature(FixedArgumentsEncoder, CustomAttributeNamedArgumentsEncoder)
編碼自訂屬性簽名 blob。 回傳一對編碼器,必須依照參數列表中出現的順序使用。
public:
void CustomAttributeSignature([Runtime::InteropServices::Out] System::Reflection::Metadata::Ecma335::FixedArgumentsEncoder % fixedArguments, [Runtime::InteropServices::Out] System::Reflection::Metadata::Ecma335::CustomAttributeNamedArgumentsEncoder % namedArguments);
public void CustomAttributeSignature(out System.Reflection.Metadata.Ecma335.FixedArgumentsEncoder fixedArguments, out System.Reflection.Metadata.Ecma335.CustomAttributeNamedArgumentsEncoder namedArguments);
member this.CustomAttributeSignature : FixedArgumentsEncoder * CustomAttributeNamedArgumentsEncoder -> unit
Public Sub CustomAttributeSignature (ByRef fixedArguments As FixedArgumentsEncoder, ByRef namedArguments As CustomAttributeNamedArgumentsEncoder)
參數
- fixedArguments
- FixedArgumentsEncoder
首先,用來編碼固定參數。
- namedArguments
- CustomAttributeNamedArgumentsEncoder
第二種用來編碼有名稱的參數。