## FeatureAttribute class

An attribute of a [`Feature`](../feature/).

```csharp
public class FeatureAttribute
```

## Constructors

| Name | Description |
| --- | --- |
| [FeatureAttribute](featureattribute/#constructor)(string, AttributeDataType) | Initializes a new instance of the `FeatureAttribute` class. |
| [FeatureAttribute](featureattribute/#constructor_1)(string, AttributeDataType, bool) | Initializes a new instance of the `FeatureAttribute` class. |

## Properties

| Name | Description |
| --- | --- |
| [CanBeNull](../../aspose.gis/featureattribute/canbenull/) { get; set; } | Gets a value indicating whether this instance can be null. |
| [CanBeUnset](../../aspose.gis/featureattribute/canbeunset/) { get; set; } | Gets or sets a value indicating whether value for this attribute can be omitted. |
| [DataType](../../aspose.gis/featureattribute/datatype/) { get; set; } | Gets the data type of the attribute. |
| [DefaultValue](../../aspose.gis/featureattribute/defaultvalue/) { get; set; } | Gets or sets a value for the attribute, that indicates missing data. |
| [HasCustomDefaultValue](../../aspose.gis/featureattribute/hascustomdefaultvalue/) { get; } | Gets a value indicating whether the pre-defined default value for this attribute was overridden with a custom value. |
| [IsLocked](../../aspose.gis/featureattribute/islocked/) { get; } | Gets a value indicating whether this attribute is locked. |
| [Name](../../aspose.gis/featureattribute/name/) { get; set; } | Gets the name of the attribute. |
| [Precision](../../aspose.gis/featureattribute/precision/) { get; set; } | Gets or sets maximum number of decimal digits to store. |
| [TypeName](../../aspose.gis/featureattribute/typename/) { get; set; } | The type name of the attribute. |
| [Width](../../aspose.gis/featureattribute/width/) { get; set; } | Gets or sets maximum allowed width of character representation of the attribute. |

## Methods

| Name | Description |
| --- | --- |
| [Lock](../../aspose.gis/featureattribute/lock/)() | Locks this attribute. |
| override [ToString](../../aspose.gis/featureattribute/tostring/)() | Returns a string that represents the current object. |

### See Also

* namespace [Aspose.Gis](../../aspose.gis/)
* assembly [Aspose.GIS](../../)


