返回下一组枚举中的元素。
命名空间: Microsoft.VisualStudio.TextManager.Interop
程序集: Microsoft.VisualStudio.TextManager.Interop.8.0(在 Microsoft.VisualStudio.TextManager.Interop.8.0.dll 中)
语法
声明
Function Next ( _
celt As UInteger, _
<OutAttribute> rgelt As ExternalError(), _
<OutAttribute> ByRef pceltFetched As UInteger _
) As Integer
int Next(
uint celt,
ExternalError[] rgelt,
out uint pceltFetched
)
int Next(
[InAttribute] unsigned int celt,
[InAttribute] [OutAttribute] array<ExternalError>^ rgelt,
[OutAttribute] unsigned int% pceltFetched
)
abstract Next :
celt:uint32 *
rgelt:ExternalError[] byref *
pceltFetched:uint32 byref -> int
function Next(
celt : uint,
rgelt : ExternalError[],
pceltFetched : uint
) : int
参数
celt
类型:UInt32[in] 检索的元素的数目。 并指定 rgelt 数组的最大大小。
rgelt
类型:array<Microsoft.VisualStudio.TextManager.Interop.ExternalError[][in, out] 数组将填充的 ExternalError 对象。
pceltFetched
类型:UInt32%[out] 返回在 rgelt 数组实际上返回的元素的数目。
返回值
类型:Int32
如果成功,则返回 S_OK。,如果小于元素的请求的数目可能返回,返回 S_FALSE 。否则,返回错误代码。
备注
COM 签名
从 singlefileeditor.idl:
HRESULT Next(
[in] ULONG celt,
[in, out] ExternalError *rgelt,
[out] ULONG* pceltFetched
);
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。