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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.VCCodeModel Namespace
Other Resources
How to: Compile and Run the Automation Object Model Code Examples