HttpStaticObjectsCollection Klasa
Definicja
Dostarcza kolekcję obiektów z zakresem aplikacji dla StaticObjects właściwości.Provides a collection of application-scoped objects for the StaticObjects property.
public ref class HttpStaticObjectsCollection sealed : System::Collections::ICollection
public sealed class HttpStaticObjectsCollection : System.Collections.ICollection
type HttpStaticObjectsCollection = class
interface ICollection
interface IEnumerable
Public NotInheritable Class HttpStaticObjectsCollection
Implements ICollection
- Dziedziczenie
-
HttpStaticObjectsCollection
- Implementuje
Konstruktory
HttpStaticObjectsCollection() |
Inicjuje nowe wystąpienie klasy HttpStaticObjectsCollection.Initializes a new instance of the HttpStaticObjectsCollection class. |
Właściwości
Count |
Pobiera liczbę obiektów w kolekcji.Gets the number of objects in the collection. |
IsReadOnly |
Pobiera wartość wskazującą, czy kolekcja jest przeznaczona tylko do odczytu.Gets a value indicating whether the collection is read-only. |
IsSynchronized |
Pobiera wartość wskazującą, czy kolekcja jest synchronizowana (czyli jest bezpieczna wątkowo).Gets a value indicating whether the collection is synchronized (that is, thread-safe). |
Item[String] |
Pobiera obiekt o określonej nazwie z kolekcji.Gets the object with the specified name from the collection. |
NeverAccessed |
Pobiera wartość logiczną wskazującą, czy do kolekcji uzyskano dostęp przed.Gets a Boolean value indicating whether the collection has been accessed before. |
SyncRoot |
Pobiera obiekt, który może służyć do synchronizowania dostępu do kolekcji.Gets an object that can be used to synchronize access to the collection. |
Metody
CopyTo(Array, Int32) |
Kopiuje elementy członkowskie HttpStaticObjectsCollection do tablicy.Copies members of an HttpStaticObjectsCollection into an array. |
Deserialize(BinaryReader) |
Tworzy HttpStaticObjectsCollection obiekt z pliku binarnego, który został zapisany przy użyciu Serialize(BinaryWriter) metody.Creates an HttpStaticObjectsCollection object from a binary file that was written by using the Serialize(BinaryWriter) method. |
Equals(Object) |
Określa, czy dany obiekt jest taki sam, jak bieżący obiekt.Determines whether the specified object is equal to the current object. (Odziedziczone po Object) |
GetEnumerator() |
Zwraca moduł wyliczający słownik używany do iterowania przez pary klucz-wartość zawarte w kolekcji.Returns a dictionary enumerator used for iterating through the key-and-value pairs contained in the collection. |
GetHashCode() |
Służy jako domyślna funkcja skrótu.Serves as the default hash function. (Odziedziczone po Object) |
GetObject(String) |
Zwraca obiekt o określonej nazwie z kolekcji.Returns the object with the specified name from the collection. Ta właściwość jest alternatywą dla |
GetType() |
Pobiera Type bieżące wystąpienie.Gets the Type of the current instance. (Odziedziczone po Object) |
MemberwiseClone() |
Tworzy skróconą kopię bieżącego elementu Object .Creates a shallow copy of the current Object. (Odziedziczone po Object) |
Serialize(BinaryWriter) |
Zapisuje zawartość kolekcji do BinaryWriter obiektu.Writes the contents of the collection to a BinaryWriter object. |
ToString() |
Zwraca ciąg reprezentujący bieżący obiekt.Returns a string that represents the current object. (Odziedziczone po Object) |
Metody rozszerzania
Cast<TResult>(IEnumerable) |
Rzutuje elementy elementu IEnumerable do określonego typu.Casts the elements of an IEnumerable to the specified type. |
OfType<TResult>(IEnumerable) |
Filtruje elementy IEnumerable w oparciu o określony typ.Filters the elements of an IEnumerable based on a specified type. |
AsParallel(IEnumerable) |
Włącza przetwarzanie równoległe zapytania.Enables parallelization of a query. |
AsQueryable(IEnumerable) |
Konwertuje IEnumerable do IQueryable .Converts an IEnumerable to an IQueryable. |