Skip to content

PropertyInfoExtensions.IsAbstractOrVirtual Method ​

Definition ​

Returns true if the specified PropertyInfo is abstract or virtual; false otherwise.

c#
public static bool IsAbstractOrVirtual(this PropertyInfo property);

View source

Parameters ​

NameTypeDescription
propertyPropertyInfoThe property.

Returns ​

Boolean

true if tproperty is abstract or virtual; false otherwise.