ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Data.UtilityNetwork Namespace / DomainNetwork Class / GetTier Method
The name of the desired Tier object to return.
Example

In This Topic
    GetTier Method
    In This Topic
    Gets the Tier object with the specified name.
    Syntax
    public Tier GetTier( 
       string tierName
    )
    Public Function GetTier( _
       ByVal tierName As String _
    ) As Tier

    Parameters

    tierName
    The name of the desired Tier object to return.

    Return Value

    A Tier object with the specified name.
    Remarks
    The string comparison used to find the name is case-insensitive.
    Example
    Find a Tier given a Domain Network name and Tier name
    using (UtilityNetworkDefinition utilityNetworkDefinition = utilityNetwork.GetDefinition())
    {
      DomainNetwork domainNetwork = utilityNetworkDefinition.GetDomainNetwork(domainNetworkName);
      Tier tier = domainNetwork.GetTier(tierName);
    }
          
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also