IVsEnumExternalErrors.Clone(IVsEnumExternalErrors) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
以单独的对象的形式返回当前枚举的副本。
public:
int Clone([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumExternalErrors ^ % ppErrors);
public:
int Clone([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumExternalErrors ^ & ppErrors);
int Clone([Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsEnumExternalErrors const & & ppErrors);
public int Clone (out Microsoft.VisualStudio.TextManager.Interop.IVsEnumExternalErrors ppErrors);
abstract member Clone : IVsEnumExternalErrors -> int
Public Function Clone (ByRef ppErrors As IVsEnumExternalErrors) As Integer
参数
- ppErrors
- IVsEnumExternalErrors
弄以单独的对象的形式返回此枚举的副本。
返回
如果成功, S_OK 则返回; 否则返回错误代码。
注解
COM 签名
从 singlefileeditor:
HRESULT Clone(
[out] IVsEnumExternalErrors **ppErrors
);
调用此方法时,该枚举的副本具有与原始的相同的状态。 但是,副本的和原始状态是独立的,可以单独更改。