This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IN > INetworkQuery Interface > INetworkQuery.PopulateIDCache Method (ArcObjects .NET 10.5 SDK) |
Initializes the index used for quickly finding network elements for the given source ID.
[Visual Basic .NET] Public Sub PopulateIDCache ( _ ByVal SourceID As Integer _ )
[C#] public void PopulateIDCache ( int SourceID );
[C++]
HRESULT PopulateIDCache(
long SourceID
);
[C++]
Parameters SourceID [in] SourceID is a parameter of type long
The PopulateIDCache method caches the IDs for network elements in the specified source, improving the performance of element queries. Populating the ID cache is useful when performing many queries for network elements within those cached source(s).
The SourceID parameter is the unique ID assigned to the NetworkSource in the network dataset.