System::Collections::Generic::List::AsReadOnly method

List::AsReadOnly method

Obtiene una referencia de solo lectura a esta colección.

SharedPtr<System::Collections::ObjectModel::ReadOnlyCollection<T>> System::Collections::Generic::List<T>::AsReadOnly()

ReturnValue

Envoltorio de solo lectura recién creado alrededor de la lista actual.

Ver también