Share via


VCCodeFunction.CanOverride Property

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

Namespace:  Microsoft.VisualStudio.VCCodeModel
Assembly:  Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)

Syntax

'Declaration
Property CanOverride As Boolean
bool CanOverride { get; set; }
property bool CanOverride {
    bool get ();
    void set (bool value);
}
abstract CanOverride : bool with get, set
function get CanOverride () : boolean 
function set CanOverride (value : boolean)

Property Value

Type: Boolean
true if the function can be overridden; false if otherwise.

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.

.NET Framework Security

See Also

Reference

VCCodeFunction Interface

Microsoft.VisualStudio.VCCodeModel Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples