Method RelateFeature
RelateFeature(ArcGISFeature)
Sets up a relationship between this feature and the provided feature.
Declaration
public void RelateFeature(ArcGISFeature feature)
Parameters
Type | Name | Description |
---|---|---|
ArcGISFeature | feature | The feature to which this feature should be related. |
Remarks
If this relationship is keyed on an Object ID or Global ID, and the origin feature in this call has been created locally, you must first call the ServiceGeodatabase.ApplyEditsAsync() method on the ServiceGeodatabase. Next, you must call Refresh() to get the new Object ID and Global ID that are generated by the service. Otherwise, the destination feature will refer to an outdated ID rather than the one defined for the relationship.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.1 - 200.5 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.5 |
RelateFeature(ArcGISFeature, RelationshipInfo)
Sets up a relationship between this feature and the provided feature based on the given relationshipInfo. See RelationshipInfo for more details.
Declaration
public void RelateFeature(ArcGISFeature feature, RelationshipInfo relationshipInfo)
Parameters
Type | Name | Description |
---|---|---|
ArcGISFeature | feature | The feature to which this feature should be related. |
RelationshipInfo | relationshipInfo | The relationship info to use when relating the two features. |
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.0 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.1 - 200.5 |
Xamarin.Android | 100.1 - 100.15 |
Xamarin.iOS | 100.1 - 100.15 |
UWP | 100.1 - 200.5 |