Edit

Share via


RequiresSuperAttribute Class

Definition

This attribute is applied to methods that must call their base implementation when they're overridden.

[System.AttributeUsage(System.AttributeTargets.Method, AllowMultiple=false)]
public sealed class RequiresSuperAttribute : Foundation.AdviceAttribute
type RequiresSuperAttribute = class
    inherit AdviceAttribute
Inheritance
RequiresSuperAttribute
Attributes

Remarks

This is the managed equivalent of clang's objc_requires_super attribute, and is applied to managed methods that bind such native methods.

Constructors

RequiresSuperAttribute()

Initializes a new instance of the RequiresSuper attribute.

Properties

Message (Inherited from AdviceAttribute)

Applies to