IBaseNetworkAssociation Interface

Provides access to members that specify the properties of a base network association.

Members

Name Description
Method AddConnectivityAssociation Adds a connectivity row to the associations table.
Method AddContainmentAssociation Adds a containment row to the associations table.
Method DeleteAssociations Deletes associations from associations table.
Method DeleteConnectivityAssociation Deletes connectivity rows from the associations table.
Method DeleteContainmentAssociation Deletes a containment row from the associations table.
Method SynthesizeAssociationGeometries Return the Association objects for the utility network features that intersect the given envelope extent. The association geometries are projected to the specified output spatial reference.

IBaseNetworkAssociation.AddConnectivityAssociation Method

Adds a connectivity row to the associations table.

Public Function AddConnectivityAssociation ( _
    ByVal AssociationType As esriUtilityNetworkAssociationType, _
    ByVal fromNetworkSourceID As Integer, _
    ByVal fromGlobalID As Guid, _
    ByVal FromTerminalID As Integer, _
    ByVal toNetworkSourceID As Integer, _
    ByVal toGlobalID As Guid, _
    ByVal ToTerminalID As Integer, _
    ByVal PercentAlong As Double _
) As Integer
public int AddConnectivityAssociation (
    esriUtilityNetworkAssociationType AssociationType,
    int fromNetworkSourceID,
    Guid fromGlobalID,
    int FromTerminalID,
    int toNetworkSourceID,
    Guid toGlobalID,
    int ToTerminalID,
    double PercentAlong
);

IBaseNetworkAssociation.AddContainmentAssociation Method

Adds a containment row to the associations table.

Public Function AddContainmentAssociation ( _
    ByVal assignGlobalID As Guid, _
    ByVal containerSourceID As Integer, _
    ByVal containerGlobalID As Guid, _
    ByVal contentSourceID As Integer, _
    ByVal contentGlobalID As Guid, _
    ByVal IsContentVisible As Boolean _
) As Integer
public int AddContainmentAssociation (
    Guid assignGlobalID,
    int containerSourceID,
    Guid containerGlobalID,
    int contentSourceID,
    Guid contentGlobalID,
    bool IsContentVisible
);

IBaseNetworkAssociation.DeleteAssociations Method

Deletes associations from associations table.

Public Sub DeleteAssociations ( _
    ByVal GlobalIDs As IStringArray _
)
public void DeleteAssociations (
    IStringArray GlobalIDs
);

IBaseNetworkAssociation.DeleteConnectivityAssociation Method

Deletes connectivity rows from the associations table.

Public Sub DeleteConnectivityAssociation ( _
    ByVal AssociationType As esriUtilityNetworkAssociationType, _
    ByVal associationGlobalID As Guid _
)
public void DeleteConnectivityAssociation (
    esriUtilityNetworkAssociationType AssociationType,
    Guid associationGlobalID
);

IBaseNetworkAssociation.DeleteContainmentAssociation Method

Deletes a containment row from the associations table.

Public Sub DeleteContainmentAssociation ( _
    ByVal associationGlobalID As Guid _
)
public void DeleteContainmentAssociation (
    Guid associationGlobalID
);

IBaseNetworkAssociation.SynthesizeAssociationGeometries Method

Return the Association objects for the utility network features that intersect the given envelope extent. The association geometries are projected to the specified output spatial reference.

Public Sub SynthesizeAssociationGeometries ( _
    ByVal Extent As IEnvelope, _
    ByVal includeConnectivity As Boolean, _
    ByVal includeAttachments As Boolean, _
    ByVal includeContainment As Boolean, _
    ByVal maxGeometryCount As Integer, _
    ByVal OutputSpatialReference As ISpatialReference, _
    ByRef maxCountExceeded As Boolean, _
    ByRef Associations As IArray _
)
public void SynthesizeAssociationGeometries (
    IEnvelope Extent,
    bool includeConnectivity,
    bool includeAttachments,
    bool includeContainment,
    int maxGeometryCount,
    ISpatialReference OutputSpatialReference,
    ref bool maxCountExceeded,
    ref IArray Associations
);

Remarks

Specifying _includeContainment=true_will throw an exception as the functionality is not yet implemented.

Classes that implement IBaseNetworkAssociation

Classes Description

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.