Open sandboxFocus

Method IsAutomaticProperty

IsAutomaticProperty(PropertyInfo)

Determines whether a given property is an automatic property.

Declaration
public static bool IsAutomaticProperty(this PropertyInfo propertyInfo)
Parameters
Type Name Description
PropertyInfo propertyInfo

A property.

Returns
Type Description
bool

true if propertyInfo represents an automatic property, otherwise false.