System::Collections::Generic::ListPtr::ListPtr 构造函数

ListPtr::ListPtr(const SharedPtr<List<T>>&) constructor

初始化指向指定列表的指针。

System::Collections::Generic::ListPtr<T>::ListPtr(const SharedPtr<List<T>> &obj)
ParameterType描述
objconst SharedPtr<List<T>>&List 用于指向。

另见

ListPtr::ListPtr(std::nullptr_t) constructor

初始化空指针。

System::Collections::Generic::ListPtr<T>::ListPtr(std::nullptr_t=nullptr)

另见