Muokkaa

Jaa


CustomModifiersEncoder.AddModifier(EntityHandle, Boolean) Method

Definition

Encodes a custom modifier.

public:
 System::Reflection::Metadata::Ecma335::CustomModifiersEncoder AddModifier(System::Reflection::Metadata::EntityHandle type, bool isOptional);
public System.Reflection.Metadata.Ecma335.CustomModifiersEncoder AddModifier (System.Reflection.Metadata.EntityHandle type, bool isOptional);
member this.AddModifier : System.Reflection.Metadata.EntityHandle * bool -> System.Reflection.Metadata.Ecma335.CustomModifiersEncoder
Public Function AddModifier (type As EntityHandle, isOptional As Boolean) As CustomModifiersEncoder

Parameters

isOptional
Boolean

Is optional modifier.

Returns

Encoder of subsequent modifiers.

Exceptions

type is null or of an unexpected kind.

Applies to