public new UtilityNetworkDefinition GetDefinition()
Public Shadows Function GetDefinition() As UtilityNetworkDefinition
Return Value
an object of type UtilityNetworkDefinition
public new UtilityNetworkDefinition GetDefinition()
Public Shadows Function GetDefinition() As UtilityNetworkDefinition
Exception | Description |
---|---|
ArcGIS.Core.CalledOnWrongThreadException | This method or property must be called within the lambda passed to QueuedTask.Run |
using (UtilityNetworkDefinition utilityNetworkDefinition = utilityNetwork.GetDefinition())
{
DomainNetwork domainNetwork = utilityNetworkDefinition.GetDomainNetwork(domainNetworkName);
Tier tier = domainNetwork.GetTier(tierName);
}
Target Platforms: Windows 11, Windows 10