Method GetAssociationsAsync
GetAssociationsAsync(UtilityElement, CancellationToken)
Asynchronously retrieves a list of all UtilityAssociations in the geodatabase for a given UtilityElement.
Declaration
public Task<IEnumerable<UtilityAssociation>> GetAssociationsAsync(UtilityElement element, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UtilityElement | element | The UtilityElement whose associations are to be returned. |
System.Threading.CancellationToken | cancellationToken | A System.Threading.CancellationToken with which to cancel the operation if required. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<UtilityAssociation>> | A task that represents the asynchronous retrieval of all the UtilityAssociations if available. Otherwise, an empty list is returned. |
Remarks
The result is a list of all associations; connectivity, containment, and structural attachment associations that include the given UtilityElement instance. The method does not return a complete picture of connectivity; features that are connected by geometric coincidence are not returned. Note that the list returned can contain associations that have not yet been validated and are therefore not yet included in the topological index.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.12 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.12 - 200.5 |
Xamarin.Android | 100.12 - 100.14 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 200.5 |
GetAssociationsAsync(UtilityElement)
Asynchronously retrieves a list of all UtilityAssociations in the geodatabase for a given UtilityElement.
Declaration
public Task<IEnumerable<UtilityAssociation>> GetAssociationsAsync(UtilityElement element)
Parameters
Type | Name | Description |
---|---|---|
UtilityElement | element | The UtilityElement whose associations are to be returned. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<UtilityAssociation>> | A task that represents the asynchronous retrieval of all the UtilityAssociations if available. Otherwise, an empty list is returned. |
Remarks
The result is a list of all associations; connectivity, containment, and structural attachment associations that include the given UtilityElement instance. The method does not return a complete picture of connectivity; features that are connected by geometric coincidence are not returned. Note that the list returned can contain associations that have not yet been validated and are therefore not yet included in the topological index.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.7 - 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.7 - 200.5 |
Xamarin.Android | 100.7 - 100.15 |
Xamarin.iOS | 100.7 - 100.15 |
UWP | 100.7 - 200.5 |
GetAssociationsAsync(UtilityElement, UtilityAssociationType, CancellationToken)
Asynchronously retrieves a list of all UtilityAssociations of type UtilityAssociationType present in the geodatabase for a given UtilityElement.
Declaration
public Task<IEnumerable<UtilityAssociation>> GetAssociationsAsync(UtilityElement element, UtilityAssociationType type, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
UtilityElement | element | The UtilityElement whose associations are to be returned. |
UtilityAssociationType | type | The UtilityAssociationType of associations to return. |
System.Threading.CancellationToken | cancellationToken | A System.Threading.CancellationToken with which to cancel the operation if required. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<UtilityAssociation>> | A task that represents the asynchronous retrieval of all the UtilityAssociations of the specified type if available. Otherwise, an empty list is returned. |
Remarks
The method does not return a complete picture of connectivity; features that are connected by geometric coincidence are not returned. Note that the list returned can contain associations that have not yet been validated and are therefore not yet included in the topological index.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.12 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.12 - 200.5 |
Xamarin.Android | 100.12 - 100.14 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 200.5 |
GetAssociationsAsync(UtilityElement, UtilityAssociationType)
Asynchronously retrieves a list of all UtilityAssociations of type UtilityAssociationType present in the geodatabase for a given UtilityElement.
Declaration
public Task<IEnumerable<UtilityAssociation>> GetAssociationsAsync(UtilityElement element, UtilityAssociationType type)
Parameters
Type | Name | Description |
---|---|---|
UtilityElement | element | The UtilityElement whose associations are to be returned. |
UtilityAssociationType | type | The UtilityAssociationType of associations to return. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<UtilityAssociation>> | A task that represents the asynchronous retrieval of all the UtilityAssociations of the specified type if available. Otherwise, an empty list is returned. |
Remarks
The method does not return a complete picture of connectivity; features that are connected by geometric coincidence are not returned. Note that the list returned can contain associations that have not yet been validated and are therefore not yet included in the topological index.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.7 - 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.7 - 200.5 |
Xamarin.Android | 100.7 - 100.15 |
Xamarin.iOS | 100.7 - 100.15 |
UWP | 100.7 - 200.5 |
GetAssociationsAsync(Envelope, CancellationToken)
Asynchronously retrieves a list of all UtilityAssociation objects (with their geometry) present
in the geodatabase for a given extent
.
Declaration
public Task<IEnumerable<UtilityAssociation>> GetAssociationsAsync(Envelope extent, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Envelope | extent | The Envelope that defines the area for which associations to return. |
System.Threading.CancellationToken | cancellationToken | A System.Threading.CancellationToken with which to cancel the operation if required. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<UtilityAssociation>> | A task that represents the asynchronous retrieval of all the list of all the UtilityAssociation objects (with their geometry) if available. Otherwise, an empty list is returned. |
Remarks
The result is a list of connectivity and structural attachment associations. Containment associations are not returned because no geometric relationship is defined between a container and its contents. The method does not return a complete picture of connectivity; features that are connected by geometric coincidence are not returned. Note that the list returned can contain associations that have not yet been validated and are therefore not yet included in the topological index.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.12 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.12 - 200.5 |
Xamarin.Android | 100.12 - 100.14 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 200.5 |
GetAssociationsAsync(Envelope)
Asynchronously retrieves a list of all UtilityAssociation objects (with their geometry) present
in the geodatabase for a given extent
.
Declaration
public Task<IEnumerable<UtilityAssociation>> GetAssociationsAsync(Envelope extent)
Parameters
Type | Name | Description |
---|---|---|
Envelope | extent | The Envelope that defines the area for which associations to return. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<UtilityAssociation>> | A task that represents the asynchronous retrieval of all the list of all the UtilityAssociation objects (with their geometry) if available. Otherwise, an empty list is returned. |
Remarks
The result is a list of connectivity and structural attachment associations. Containment associations are not returned because no geometric relationship is defined between a container and its contents. The method does not return a complete picture of connectivity; features that are connected by geometric coincidence are not returned. Note that the list returned can contain associations that have not yet been validated and are therefore not yet included in the topological index.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.8 - 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.8 - 200.5 |
Xamarin.Android | 100.8 - 100.15 |
Xamarin.iOS | 100.8 - 100.15 |
UWP | 100.8 - 200.5 |
GetAssociationsAsync(Envelope, UtilityAssociationType, CancellationToken)
Asynchronously retrieves a list of all UtilityAssociation objects (with their geometry)
of type type
present in the geodatabase for a given extent
.
Declaration
public Task<IEnumerable<UtilityAssociation>> GetAssociationsAsync(Envelope extent, UtilityAssociationType type, CancellationToken cancellationToken)
Parameters
Type | Name | Description |
---|---|---|
Envelope | extent | The Envelope that defines the area for which associations to return. |
UtilityAssociationType | type | The UtilityAssociationType of associations to return. |
System.Threading.CancellationToken | cancellationToken | A System.Threading.CancellationToken with which to cancel the operation if required. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<UtilityAssociation>> | A task that represents the asynchronous retrieval of all the list of all the UtilityAssociation objects (with their geometry) of the specified type if available. Otherwise, an empty list is returned. |
Remarks
Containment associations are not returned because no geometric relationship is defined between a container and its contents; consider using GetAssociationsAsync(UtilityElement, UtilityAssociationType) instead. The method does not return a complete picture of connectivity; features that are connected by geometric coincidence are not returned. Note that the list returned can contain associations that have not yet been validated and are therefore not yet included in the topological index.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.12 - 200.5 |
.NET | 100.13 - 200.5 |
.NET Windows | 100.13 - 200.5 |
.NET Android | 200.2 - 200.5 |
.NET iOS | 200.0 - 200.5 |
.NET Framework | 100.12 - 200.5 |
Xamarin.Android | 100.12 - 100.14 |
Xamarin.iOS | 100.12 - 100.15 |
UWP | 100.12 - 200.5 |
GetAssociationsAsync(Envelope, UtilityAssociationType)
Asynchronously retrieves a list of all UtilityAssociation objects (with their geometry)
of type type
present in the geodatabase for a given extent
.
Declaration
public Task<IEnumerable<UtilityAssociation>> GetAssociationsAsync(Envelope extent, UtilityAssociationType type)
Parameters
Type | Name | Description |
---|---|---|
Envelope | extent | The Envelope that defines the area for which associations to return. |
UtilityAssociationType | type | The UtilityAssociationType of associations to return. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<UtilityAssociation>> | A task that represents the asynchronous retrieval of all the list of all the UtilityAssociation objects (with their geometry) of the specified type if available. Otherwise, an empty list is returned. |
Remarks
Containment associations are not returned because no geometric relationship is defined between a container and its contents; consider using GetAssociationsAsync(UtilityElement, UtilityAssociationType) instead. The method does not return a complete picture of connectivity; features that are connected by geometric coincidence are not returned. Note that the list returned can contain associations that have not yet been validated and are therefore not yet included in the topological index.
Applies to
Platforms and versions
Target | Versions |
---|---|
.NET Standard 2.0 | 100.8 - 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.8 - 200.5 |
Xamarin.Android | 100.8 - 100.15 |
Xamarin.iOS | 100.8 - 100.15 |
UWP | 100.8 - 200.5 |