This document is archived and information here might be outdated.  Recommended version.


ITopologyContainer.TopologyByName Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITopologyContainer Interface > ITopologyContainer.TopologyByName Property
ArcGIS Developer Help

ITopologyContainer.TopologyByName Property

The topology with the specified name.

[Visual Basic .NET]
Public Function get_TopologyByName ( _
    ByVal Name As String _
) As ITopology
[C#]
public ITopology get_TopologyByName (
    string Name
);
[C++]
HRESULT get_TopologyByName(
  BSTR Name,
  ITopology** Topology
);
[C++]
Parameters
Name [in]

Name is a parameter of type BSTR Topology [out, retval]
Topology is a parameter of type ITopology**

Product Availability

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

Errors Returned

FDO_E_TOPOLOGY_NOT_FOUND: No Topology with the specified name exists in the Feature Dataset.  Use the IWorkspace2::NameExists property to determine if a Topology with the specified name exists.

Remarks

The TopologyByName property will return a reference to the topology with the specified name. For ArcSDE Geodatabases, both the fully qualified name and unqualified name can be used to return topologies.  If different users own topologies with the same unqualified names in the ArcSDE Geodatabase, using the unqualified name will return the topology owned by the current user.

See Also

ITopologyContainer Interface