ArcObjects Library Reference (GeoDatabase)  

INetSchema Interface

Provides access to members that get information about the schema of the network.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

When To Use

Use the INetSchema interface when you want to obtain information about element classes in your network as well as weights, weight associations and ancillary roles.

Members

Description
Read-only property ElementClass Element class by index.
Read-only property ElementClassByUserID Element class corresponding to the specified user class ID.
Read-only property ElementClassCount Number of element classes in the network.
Method GetAncillaryRole Returns the ancillary role type and the name of the field containing the ancillary role information.
Method GetEnabledDisabledFieldName Returns the name of the filed containing the enabled/disabled information for the specified user class.
Read-only property Weight Network weight corresponding to the specified weight internal ID.
Read-only property WeightAssociations Network weight associations corresponding to the specified weight internal ID.
Read-only property WeightAssociationsByTableName Network weight associations corresponding to the specified table name.
Read-only property WeightByName Network weight corresponding to the specified name.
Read-only property WeightCount Number of weights in the network.

CoClasses that implement INetSchema

CoClasses and Classes Description
StreetNetwork A container for describing a street network.
UtilityNetwork A container for describing a utility network.

Remarks

A logical network can be constructed from one or more feature classes. For instance, you may have a transmission lines feature class and a transformers feature class. Together, these two feature classes comprise the basis for the entire logical network. Each element in a network can be found based on its Element ID (EID) and its element type. Each element must also remember which feature it belongs to. Each element maintains which feature class it was created from in a UserClassID. The UserID stores the ID of the feature within the feature class. The logical network also maintains the UserSubID for each element within the feature. The relationship between the feature class, features, and the logical network elements comprises the schema for a network.

See Also

INetSchema Interface | INetSchemaEdit Interface | INetWeightAssociation Interface | INetWeightAssociationEdit Interface | INetWeight Interface | INetWeightEdit Interface

.NET Samples

Custom upstream trace task (Code Files: CustomUpstreamTraceTaskVBNet) |

.NET Related Topics

NetworkAnalysis |