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


INetworkCollection2.FormatNumber Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkCollection2 Interface > INetworkCollection2.FormatNumber Property
ArcGIS Developer Help

INetworkCollection2.FormatNumber Property

The specified format number.

[Visual Basic .NET]
Public Function get_FormatNumber ( _
    ByVal Index As Integer _
) As Integer
[C#]
public int get_FormatNumber (
    int Index
);
[C++]
HRESULT get_FormatNumber(
  long Index,
  System.Int32* formatNum
);
[C++]
Parameters
Index [in]

Index is a parameter of type long formatNum [out, retval]
formatNum is a parameter of type long*

Product Availability

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

Errors Returned

A format number of -1 is returned when the index exceeds the number of implemented formats.

Remarks

FormatNumber will return the storage formats available for the geometric network.  The index for FormatNumber is zero based, so use the FormatNumberCount -1 to iterate through the formats.

See Also

INetworkCollection2 Interface