VCCodeFunction.CanOverride - свойство
Gets or sets a value indicating whether or not the function can be overridden.
Пространство имен: Microsoft.VisualStudio.VCCodeModel
Сборка: Microsoft.VisualStudio.VCCodeModel (в Microsoft.VisualStudio.VCCodeModel.dll)
Синтаксис
'Декларация
Property CanOverride As Boolean
'Применение
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)
Значение свойства
Тип: 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.
Разрешения
- Полное доверие для непосредственно вызывающего метода. Этот член не может быть использован частично доверенным кодом. Дополнительные сведения см. в разделе Using Libraries from Partially Trusted Code.
См. также
Основные понятия
How to: Compile and Run the Automation Object Model Code Examples