SurroundMethod
Overview
When using the IMethodDefinition.SurroundMethod call, this enum is used to specify what to do with the "After" code.
Location
- Reference: RemObjects.Elements.Cirrus.dll
- Namespace: RemObjects.Elements.Cirrus
Value | Description |
---|---|
Always | Put the before before the original, a try/finally around the original body and the after inside the finally |
Exception | Put the before before the original, a try/except around the original body and the after inside the except |
Never | Put the before before the original, and after after but don't add any try/finally or try/except |