---
title: "VectorLayer.ReplaceAt"
url: "https://reference.aspose.com/gis/ar/net/aspose.gis/vectorlayer/replaceat/"
product: "Aspose.GIS لمرجع .NET API"
description: "VectorLayer طريقة. استبدل ملفFeature في الفهرس المحدد."
---

## VectorLayer.ReplaceAt method

استبدل ملف[`Feature`](../../feature/) في الفهرس المحدد.

```csharp
public virtual void ReplaceAt(int index, Feature feature)
```

| معامل | يكتب | وصف |
| --- | --- | --- |
| index | Int32 | فهرس الميزة. |
| feature | Feature | الميزة المراد ضبطها. |

### استثناءات

| استثناء | حالة |
| --- | --- |
| InvalidOperationException | يتم طرحها إذا كانت الطبقة غير قابلة للتحرير. |
| ArgumentOutOfRangeException | الفهرس خارج النطاق. |
| IOException | حدث خطأ في الإدخال / الإخراج. |

### أنظر أيضا

* class [Feature](../../feature/)
* class [VectorLayer](../)
* مساحة الاسم [Aspose.Gis](../../vectorlayer/)
* المجسم [Aspose.GIS](../../../)


