FeatureAttributeCollection.Item
Innehåll
[
Dölj
]FeatureAttributeCollection indexer (1 of 2)
Hämtar eller ställer inFeatureAttribute vid angivet index.
public FeatureAttribute this[int index] { get; set; }
| Parameter | Beskrivning |
|---|---|
| index | Det nollbaserade indexet för attributet som ska hämtas eller ställas in. |
Returvärde
Attributet vid det angivna indexet.
Undantag
| undantag | skick |
|---|---|
| ArgumentOutOfRangeException | Indexet ligger utanför intervallet. |
| InvalidOperationException | Försök att ändra en låst samling. |
Se även
- class FeatureAttribute
- class FeatureAttributeCollection
- namnutrymme Aspose.Gis
- hopsättning Aspose.GIS
FeatureAttributeCollection indexer (2 of 2)
Hämtar eller ställer inFeatureAttribute med ett angivet namn.
public FeatureAttribute this[string name] { get; }
| Parameter | Beskrivning |
|---|---|
| name | Namn på attributen. |
Returvärde
Attributet med det angivna namnet, ellernull om den inte hittas.
Undantag
| undantag | skick |
|---|---|
| ArgumentNullException | Attributnamnet ärnull. |
Se även
- class FeatureAttribute
- class FeatureAttributeCollection
- namnutrymme Aspose.Gis
- hopsättning Aspose.GIS