Share via


VCCodeFunction.CanOverride Property

Definition

Gets or sets a value indicating whether or not the function can be overridden.

public:
 property bool CanOverride { bool get(); void set(bool value); };
public:
 property bool CanOverride { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(50)]
public bool CanOverride { [System.Runtime.InteropServices.DispId(50)] get; [System.Runtime.InteropServices.DispId(50)] set; }
[<System.Runtime.InteropServices.DispId(50)>]
[<get: System.Runtime.InteropServices.DispId(50)>]
[<set: System.Runtime.InteropServices.DispId(50)>]
member this.CanOverride : bool with get, set
Public Property CanOverride As Boolean

Property Value

true if the function can be overridden; false if otherwise.

Attributes

Remarks

  • For Visual Basic, the function was declared with MustOverride or Overrideable.

  • For Visual C# and Visual C++, the function was declared with the virtual keyword.

  • For JScript, the function was not declared with the static or final keywords; that is, the methods can be implicitly overridden.

Applies to