This documentation is archived and is not being maintained.

IEnumRunningDocuments.Skip Method

Skip over the specified number of document cookies in the enumeration sequence.

Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop (in

int Skip (
	[InAttribute] uint celt
int Skip (
	/** @attribute InAttribute() */ UInt32 celt
function Skip (
	celt : uint
) : int



[in] The number of cookies to skip over.

Return Value

If the method succeeds, it returns S_OK. Returns S_FALSE if the specified number of cookies is greater than the remaining number of cookies; otherwise, returns an error code.

COM Signature

From vsshell.idl:

HRESULT IEnumRunningDocuments::Skip(
   [in] ULONG celt

If the celt parameter specifies more than the number of cookies remaining, this method returns S_FALSE and sets the enumeration to the end of the sequence.