Open sandboxFocus

Property IsVirtual

IsVirtual

Gets a value indicating whether the introduced member should be virtual.

Declaration
public bool? IsVirtual { get; }
Property Value
Type Description
bool?
Remarks

When this property is false and the member already exists in a base type and is virtual, the member is overridden and marked as sealed.

When this property is set to null, the introduced member is virtual if it exists in a base type as a virtual member; otherwise, it is non-virtual.