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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.