Show / Hide Table of Contents

Method GetNetworkAttribute

GetNetworkAttribute(String)

Gets the UtilityNetworkAttribute associated with specified network attribute name.

Declaration
public UtilityNetworkAttribute GetNetworkAttribute(string networkAttributeName)
Parameters
Type Name Description
System.String networkAttributeName

Name of the network attribute.

Returns
Type Description
UtilityNetworkAttribute

UtilityNetworkAttribute associated with the specified network attribute name; or null if no match was found.

Exceptions
Type Condition
System.ArgumentNullException

networkAttributeName is null.

ArgumentException

Value of networkAttributeName is empty.

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.6 - 100.15
.NET 6.0100.13 - 100.15
.NET 6.0 Windows100.13 - 100.15
.NET Framework100.6 - 100.15
.NET 5100.10 - 100.12
.NET Core 3.1100.7 - 100.12
Xamarin.Android100.6 - 100.15
Xamarin.iOS100.6 - 100.15
UWP100.6 - 100.15
In This Article
Back to top Copyright © 2022 Esri.