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


IEnumWorkspace.Next Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

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