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
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.