Learn 。网 API 浏览器 使用英语阅读 保存 通过 Facebookx.com 共享LinkedIn电子邮件 VectorEnumerator<TValue>.Dispose 方法 参考 反馈 定义 命名空间: Microsoft.VisualC.StlClr 程序集: Microsoft.VisualC.STLCLR.dll 释放或重置VectorEnumerator<TValue>
This class provides methods, static functions, and typedefs useful when creating collections of smart pointers using vector new and delete operators.Kopírovať template< typename T > class CAutoVectorPtrElementTraits : public CDefaultElementTraits< ATL::CAutoVectorPtr< T > > ...
VectorEnumeratorBase<TValue> 下載PDF Learn 。NET API 瀏覽器 閱讀英文 儲存 共用方式為 Facebookx.comLinkedIn電子郵件 IVector<TValue>.insert 方法 參考 定義 命名空間: Microsoft.VisualC.StlClr 組件: Microsoft.VisualC.STLCLR.dll 將項目新增至容器的指定位置。
CAutoVectorPtr je podobný , CAutoPtrjediný rozdíl je, že CAutoVectorPtr používá vector new[] a přiděluje a vector delete[] uvolní paměť místo C++ new a delete operátorů. Viz CAutoVectorPtrElementTraits, pokud jsou požadovány třídy CAutoVectorPtr kolekce....
CAutoVectorPtrElementTraits::INARGTYPE 要用於將專案加入至集合類別對象的數據類型。 CAutoVectorPtrElementTraits::OUTARGTYPE 要用於從集合類別物件擷取專案的數據類型。 備註 這個類別提供方法、靜態函式和 typedefs,以協助建立包含智慧型手機的集合類別物件。 不同於 CAutoPtrElementTraits,這個類別會使用向量 new...
p The CAutoVectorPtr object will take ownership of this pointer. Remarks When a CAutoVectorPtr object takes ownership of a pointer, it will automatically delete the pointer and any allocated data when it goes out of scope. If CAutoVectorPtr::Detach is called, the programmer is again given...
IVector<TValue>.insert 方法 参考 反馈 定义 命名空间: Microsoft.VisualC.StlClr 程序集: Microsoft.VisualC.STLCLR.dll 将元素添加到容器中的指定位置。 重载 展开表 insert(ContainerRandomAccessIterator<TValue>, IEnumerable) 将枚举器指定的序列插入到容器中。 insert(ContainerRandomAccessIterator<T...
IVector<TValue>.get_generation 方法参考 反馈 定义命名空间: Microsoft.VisualC.StlClr 程序集: Microsoft.VisualC.STLCLR.dll 获取基础容器的当前换代。 C# 复制 public uint get_generation(); 返回 UInt32 基础容器的当前换代。 适用于 产品版本 .NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6...
调用此方法分配 CAutoVectorPtr所指向的一些需要对象的内存。 复制 bool Allocate( size_t nElements ) throw( ); 参数 nElements 数组中的元素数。 返回值 返回true;如果成功分配内存,错误在失败。 备注 如果CAutoVectorPtr::m_p 成员变量当前指向某个现有值,在调试版本中,断言失败将发生;即使用NULL不相等...
Learn 。网 API 浏览器 使用英语阅读 保存 通过 Facebookx.com 共享LinkedIn电子邮件 IVector<TValue> 接口 参考 反馈 定义 命名空间: Microsoft.VisualC.StlClr 程序集: Microsoft.VisualC.STLCLR.dll 定义STL/CLR向量对象的接口。 C#复制 publicinterfaceIVector<TValue> :ICloneable,Microsoft.VisualC.StlClr....