ArcObjects Library Reference (GeoDatabase)  

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,
  long* 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