Provides access to members that specify the properties of a base network association.
Members
Name | Description | |
---|---|---|
AddConnectivityAssociation | Adds a connectivity row to the associations table. | |
AddContainmentAssociation | Adds a containment row to the associations table. | |
DeleteAssociations | Deletes associations from associations table. | |
DeleteConnectivityAssociation | Deletes connectivity rows from the associations table. | |
DeleteContainmentAssociation | Deletes a containment row from the associations table. | |
QueryAssociations | Query the association's table. | |
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. | |
TraverseAssociations | Traverse the association's table. | |
UpdateAssociation | Update an existing association. |
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 Long
public long 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 Long
public long 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.QueryAssociations Method
Query the association's table.
Public Sub QueryAssociations ( _
ByVal sourceIDArray As ILongArray, _
ByVal globalIDArray As IStringArray, _
ByVal TerminalID As ILongArray, _
ByVal associationTypeArray As ILongArray, _
ByVal isReturningDeletes As Boolean, _
ByRef associationArray As IArray _
)
public void QueryAssociations (
ILongArray sourceIDArray,
IStringArray globalIDArray,
ILongArray TerminalID,
ILongArray associationTypeArray,
bool isReturningDeletes,
ref IArray associationArray
);
Description
The _associationArray_object holds an indexed collection of IAssociationObject.
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.
IBaseNetworkAssociation.TraverseAssociations Method
Traverse the association's table.
Public Sub TraverseAssociations ( _
ByVal sourceIDArray As ILongArray, _
ByVal globalIDArray As IStringArray, _
ByVal TerminalID As ILongArray, _
ByVal traversalType As esriAssociationTraversalType, _
ByVal traversalDirection As esriAssociationTraversalDirection, _
ByVal dirtyFilter As esriAssociationDirtyStatusFilter, _
ByVal errorFilter As esriAssociationErrorStatusFilter, _
ByVal isStoppingAtFirstSpatial As Boolean, _
ByVal maxDepth As Integer, _
ByRef associationArray As IArray, _
ByRef outputSourceID As ILongArray, _
ByRef outGlobalIDArray As IStringArray _
)
public void TraverseAssociations (
ILongArray sourceIDArray,
IStringArray globalIDArray,
ILongArray TerminalID,
esriAssociationTraversalType traversalType,
esriAssociationTraversalDirection traversalDirection,
esriAssociationDirtyStatusFilter dirtyFilter,
esriAssociationErrorStatusFilter errorFilter,
bool isStoppingAtFirstSpatial,
int maxDepth,
ref IArray associationArray,
ref ILongArray outputSourceID,
ref IStringArray outGlobalIDArray
);
IBaseNetworkAssociation.UpdateAssociation Method
Update an existing association.
Public Sub UpdateAssociation ( _
ByVal associationGlobalID As Guid, _
ByVal attributeValuesPropertySet As IPropertySet _
)
public void UpdateAssociation (
Guid associationGlobalID,
IPropertySet attributeValuesPropertySet
);
Classes that implement IBaseNetworkAssociation
Classes | Description |
---|