BlobEncoder.CustomAttributeSignature 方法
定义
重载
| CustomAttributeSignature(Action<FixedArgumentsEncoder>, Action<CustomAttributeNamedArgumentsEncoder>) |
对自定义特性签名 blob 进行编码。Encodes custom attribute signature blob. |
| CustomAttributeSignature(FixedArgumentsEncoder, CustomAttributeNamedArgumentsEncoder) |
对自定义特性签名 blob 进行编码。Encodes custom attribute signature blob. 返回一个编码器对,必须按它们在参数列表中出现的顺序来使用。Returns a pair of encoders that must be used in the order they appear in the parameter list. |
CustomAttributeSignature(Action<FixedArgumentsEncoder>, Action<CustomAttributeNamedArgumentsEncoder>)
对自定义特性签名 blob 进行编码。Encodes custom attribute signature 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>
已调用第一个,对固定参数进行编码。Called first, to encode fixed arguments.
- namedArguments
- Action<CustomAttributeNamedArgumentsEncoder>
已调用第二个,对固定参数进行编码。Called second, to encode named arguments.
例外
fixedArguments 或 namedArguments 为 null。fixedArguments or namedArguments is null.
适用于
CustomAttributeSignature(FixedArgumentsEncoder, CustomAttributeNamedArgumentsEncoder)
对自定义特性签名 blob 进行编码。Encodes custom attribute signature blob. 返回一个编码器对,必须按它们在参数列表中出现的顺序来使用。Returns a pair of encoders that must be used in the order they appear in the parameter list.
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
使用第一个,以对固定参数进行编码。Use first, to encode fixed arguments.
- namedArguments
- CustomAttributeNamedArgumentsEncoder
使用第二个,以对固定参数进行编码。Use second, to encode named arguments.