SurroundMethod Enum

From The Oxygene Language Wiki

Jump to:navigation, search

This is a Language topic
Feel free to add your notes to this topic below.


When using the IMethodDefinition.SurroundMethod call, this enum is used to specify what to do with the "After" code.

Namespace: Cirrus


Enum Values

Value
Description
AlwaysPut the before before the original, a try/finally around the original body and the after inside the finally
ExceptionPut the before before the original, a try/except around the original body and the after inside the except
NeverPut the before before the original, and after after but don't add any try/finally or try/except


See Also


Oxygene-48.png

Area: Oxygene Language
Compiler version: Oxygene 5

Language GlossaryKeywordsTypesFAQHow To

Navigation
Areas
More
Toolbox