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
'Usage
Dim instance As VCCodeFunction
Dim value As Boolean
value = instance.CanOverride
instance.CanOverride = value
bool CanOverride { get; set; }
property bool CanOverride {
bool get ();
void set (bool value);
}
function get CanOverride () : boolean
function set CanOverride (value : boolean)
Property Value
Type: System.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.
Permissions
- 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
Concepts
How to: Compile and Run the Automation Object Model Code Examples