Constructor PropertyAttribute
PropertyAttribute(string)
Constructs a property attribute with the name passed as argument.
Declaration
public PropertyAttribute(string name = null)
Parameters
Type | Name | Description |
---|---|---|
string | name | Name that is to be used for the property. |
Remarks
By default the type name is used for display purposes. Alternatively, an override name can be passed to the property attribute constructor.