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)

property bool CanOverride {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

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

  • 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.

Return to top
Show: