Skip to content

PropertyInfoExtensions.IsNew Method ​

Definition ​

Returns true if the specified PropertyInfo is a property marked with the new modifier; false otherwise.

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

View source

Parameters ​

NameTypeDescription
propertyPropertyInfoThe property.

Returns ​

Boolean

true if property is a property marked with the new modifier; false otherwise.