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


IEnumWorkspace.Next Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IE > IEnumWorkspace Interface > IEnumWorkspace.Next Method
ArcGIS Developer Help

IEnumWorkspace.Next Method

Retrieves the next Workspace in the enumeration sequence.

[Visual Basic .NET]
Public Sub Next ( _
    ByVal numRequested As Integer, _
    ByRef workspaces As IWorkspace, _
    ByRef numFetched As Integer _
)
[C#]
public void Next (
    int numRequested,
    ref IWorkspace workspaces,
    ref int numFetched
);
[C++]
HRESULT Next(
  long numRequested,
  IWorkspace** workspaces,
  System.Int32* numFetched
);
[C++]
Parameters
numRequested [in]

numRequested is a parameter of type long workspaces [out]
workspaces is a parameter of type IWorkspace** numFetched [out]
numFetched is a parameter of type long*

Product Availability

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

See Also

IEnumWorkspace Interface