Provides access to members that specify the properties of a base network.
Members
Name | Description | |
---|---|---|
AssociationsTable | Returns the associations table. | |
CreateQuery | Creates query object. | |
CreateTracer | Creates tracer. | |
DiagramDataset | Returns the diagram dataset of the utility network. | |
DirtyAreaTable | Returns the dirty area table. | |
ScaleDelta | Returns the scale delta. | |
SearchTolerance | Returns the search tolerance. |
IBaseNetwork.AssociationsTable Property
Returns the associations table.
Public ReadOnly Property AssociationsTable As ITable
public ITable AssociationsTable {get;}
IBaseNetwork.CreateQuery Method
Creates query object.
Public Function CreateQuery ( _
) As IUtilityNetworkQuery
public IUtilityNetworkQuery CreateQuery (
);
IBaseNetwork.CreateTracer Method
Creates tracer.
Public Function CreateTracer ( _
) As ITracer
public ITracer CreateTracer (
);
IBaseNetwork.DiagramDataset Property
Returns the diagram dataset of the utility network.
Public ReadOnly Property DiagramDataset As IDataset
public IDataset DiagramDataset {get;}
IBaseNetwork.DirtyAreaTable Property
Returns the dirty area table.
Public ReadOnly Property DirtyAreaTable As ITable
public ITable DirtyAreaTable {get;}
// Get Utility Network from the helper method
Dataset unDataset = GetUNDatasetFromYourHelperMethod()
IWorkspace workspace = (IWorkspace)unDataset.Workspace;
// Get all the dirty areas
IBaseNetwork baseNetwork = (IBaseNetwork)unDataset;
ITable dirtyAreaTable = baseNetwork.DirtyAreaTable;
// Get dirty table's fields
string shapeFieldName = ((IFeatureClass)dirtyAreaTable).ShapeFieldName;
int areaFieldIndex = dirtyAreaTable.FindField(shapeFieldName);
int creatorFieldIndex = dirtyAreaTable.FindField("CREATOR");
IBaseNetwork.ScaleDelta Property
Returns the scale delta.
Public Sub ScaleDelta ( _
ByRef ScaleDelta As Double _
)
public void ScaleDelta (
ref double ScaleDelta
);
IBaseNetwork.SearchTolerance Property
Returns the search tolerance.
Public Sub SearchTolerance ( _
ByVal point As IPoint, _
ByRef tolerance As Double _
)
public void SearchTolerance (
IPoint point,
ref double tolerance
);
Classes that implement IBaseNetwork
Classes | Description |
---|
private void OpenDataset(IFeatureWorkspace featureWorkspace, string extensionDatasetName)
{
IDataset unDataset = featureWorkspace.OpenExtensionDataset(esriDatasetType.esriDTUtilityNetwork, extensionDatasetName);
IBaseNetwork baseNetwork = (IBaseNetwork)unDataset;
IBaseNetworkTopology baseNetworkTopology = (IBaseNetworkTopology)baseNetwork;
}