PropertyCollection Třída
Definice
PropertyCollectionTřída obsahuje vlastnosti DirectoryEntry .The PropertyCollection class contains the properties of a DirectoryEntry.
public ref class PropertyCollection : System::Collections::IDictionary
public class PropertyCollection : System.Collections.IDictionary
type PropertyCollection = class
interface ICollection
interface IEnumerable
interface IDictionary
type PropertyCollection = class
interface IDictionary
interface ICollection
interface IEnumerable
Public Class PropertyCollection
Implements IDictionary
- Dědičnost
-
PropertyCollection
- Implementuje
Vlastnosti
Count |
Získá počet vlastností v této kolekci.Gets the number of properties in this collection. |
Item[String] |
Získá zadanou vlastnost.Gets the specified property. |
PropertyNames |
Získá názvy vlastností v této kolekci.Gets the names of the properties in this collection. |
Values |
Získá hodnoty vlastností v této kolekci.Gets the values of the properties in this collection. |
Metody
Contains(String) |
Určuje, zda zadaná vlastnost je v této kolekci.Determines whether the specified property is in this collection. |
CopyTo(PropertyValueCollection[], Int32) |
Zkopíruje všechny objekty v této kolekci do pole, počínaje zadaným indexem v cílovém poli.Copies the all objects in this collection to an array, starting at the specified index in the target array. |
Equals(Object) |
Určí, zda se zadaný objekt rovná aktuálnímu objektu.Determines whether the specified object is equal to the current object. (Zděděno od Object) |
GetEnumerator() |
Vrátí enumerátor, který lze použít k iteraci v této kolekci.Returns an enumerator that you can use to iterate through this collection. |
GetHashCode() |
Slouží jako výchozí funkce hash.Serves as the default hash function. (Zděděno od Object) |
GetType() |
Získá Type aktuální instanci.Gets the Type of the current instance. (Zděděno od Object) |
MemberwiseClone() |
Vytvoří kopii aktuálního seznamu Object .Creates a shallow copy of the current Object. (Zděděno od Object) |
ToString() |
Vrátí řetězec, který představuje aktuální objekt.Returns a string that represents the current object. (Zděděno od Object) |
Explicitní implementace rozhraní
ICollection.CopyTo(Array, Int32) |
Zkopíruje prvky ICollection do a Array počínaje konkrétním Array indexem.Copies the elements of the ICollection to an Array, starting at a particular Array index. |
ICollection.IsSynchronized |
Načte hodnotu, která označuje, jestli se má synchronizovat přístup k aplikaci (bezpečné pro přístup z ICollection více vláken).Gets a value indicating whether access to the ICollection is synchronized (thread safe). |
ICollection.SyncRoot |
Získává objekt, který lze použít k synchronizaci přístupu k ICollection .Gets an object that can be used to synchronize access to the ICollection. |
IDictionary.Add(Object, Object) |
Přidá prvek se zadaným klíčem a hodnotou do IDictionary objektu.Adds an element with the provided key and value to the IDictionary object. |
IDictionary.Clear() |
Odebere všechny prvky z IDictionary objektu.Removes all elements from the IDictionary object. |
IDictionary.Contains(Object) |
Určuje, zda IDictionary objekt obsahuje prvek se zadaným klíčem.Determines whether the IDictionary object contains an element with the specified key. |
IDictionary.IsFixedSize |
Načte hodnotu, která označuje, zda IDictionary má objekt pevnou velikost.Gets a value indicating whether the IDictionary object has a fixed size. |
IDictionary.IsReadOnly |
Načte hodnotu, která označuje, zda IDictionary je objekt určen jen pro čtení.Gets a value indicating whether the IDictionary object is read-only. |
IDictionary.Item[Object] |
Získá nebo nastaví prvek se zadaným klíčem.Gets or sets the element with the specified key. |
IDictionary.Keys |
Získá ICollection objekt obsahující klíče IDictionary objektu.Gets an ICollection object containing the keys of the IDictionary object. |
IDictionary.Remove(Object) |
Odebere prvek se zadaným klíčem z IDictionary objektu.Removes the element with the specified key from the IDictionary object. |
IEnumerable.GetEnumerator() |
Vrátí IEnumerable objekt.Returns an IEnumerable object. |
Metody rozšíření
Cast<TResult>(IEnumerable) |
Přetypování prvky IEnumerable na zadaný typ.Casts the elements of an IEnumerable to the specified type. |
OfType<TResult>(IEnumerable) |
Filtruje prvky IEnumerable založené na zadaném typu.Filters the elements of an IEnumerable based on a specified type. |
AsParallel(IEnumerable) |
Povoluje paralelní zpracování dotazu.Enables parallelization of a query. |
AsQueryable(IEnumerable) |
Převede IEnumerable na IQueryable .Converts an IEnumerable to an IQueryable. |