共用方式為


IVsEnumExternalErrors.Skip Method

Skips over the specified number of elements.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

'宣告
Function Skip ( _
    celts As UInteger _
) As Integer
int Skip(
    uint celts
)
int Skip(
    [InAttribute] unsigned int celts
)
abstract Skip : 
        celts:uint32 -> int 
function Skip(
    celts : uint
) : int

Parameters

Return Value

Type: System.Int32
If successful, returns S_OK. Returns S_FALSE if the celt parameter is greater than the number of remaining elements. Otherwise, returns an error code.

Remarks

COM Signature

From singlefileeditor.idl:

HRESULT Skip(
   [in] ULONG celts
);

If the celt parameter specifies a value greater than the number of remaining elements, the enumeration is set to the end and S_FALSE is returned.

.NET Framework Security

See Also

Reference

IVsEnumExternalErrors Interface

Microsoft.VisualStudio.TextManager.Interop Namespace