CustomModifiersEncoder.AddModifier(EntityHandle, Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.