Udostępnij za pośrednictwem


Klasa GraphSetterCollection

Ta klasa zapewnia metody zbioru obiektów metody ustawiającej.

Hierarchia dziedziczenia

Object
  Microsoft.VisualStudio.GraphModel.Styles.GraphSetterCollection

Przestrzeń nazw:  Microsoft.VisualStudio.GraphModel.Styles
Zestaw:  Microsoft.VisualStudio.GraphModel (w Microsoft.VisualStudio.GraphModel.dll)

Składnia

'Deklaracja
Public Class GraphSetterCollection _
    Implements ICollection(Of GraphSetter), IEnumerable(Of GraphSetter),  _
    IEnumerable, IHasGraphOwner
public class GraphSetterCollection : ICollection<GraphSetter>, 
    IEnumerable<GraphSetter>, IEnumerable, IHasGraphOwner
public ref class GraphSetterCollection : ICollection<GraphSetter^>, 
    IEnumerable<GraphSetter^>, IEnumerable, IHasGraphOwner
type GraphSetterCollection =  
    class 
        interface ICollection<GraphSetter>
        interface IEnumerable<GraphSetter>
        interface IEnumerable 
        interface IHasGraphOwner 
    end
public class GraphSetterCollection implements ICollection<GraphSetter>, IEnumerable<GraphSetter>, IEnumerable, IHasGraphOwner

Typ GraphSetterCollection uwidacznia następujące elementy członkowskie.

Konstruktorzy

  Nazwa Opis
Metoda publiczna GraphSetterCollection Utworzyć nowy obiekt style dla danego wykresu.

Początek

Właściwości

  Nazwa Opis
Właściwość publiczna Count Zwraca liczbę ustawiające w kolekcji.
Właściwość publiczna Graph Pobierz wykres, należącej do tej kolekcji
Właściwość publiczna IsReadOnly Pobiera wartość wskazująca, czy System.Collections.Generic.ICollection jest tylko do odczytu.
Właściwość publiczna Owner Pobierz wykres, należącej do tej kolekcji

Początek

Metody

  Nazwa Opis
Metoda publiczna Add Dodaje określonej metody ustawiającej.
Metoda publiczna Clear Czyści listę ustawiające.
Metoda publiczna Contains Sprawdza, czy Setter jest w tej kolekcji
Metoda publiczna CopyTo Kopiuje elementy System.Collections.Generic.ICollection System.Array, począwszy od określonego indeksu System.Array.
Metoda publiczna Equals Determines whether the specified object is equal to the current object. (Odziedziczone z Object).
Metoda chroniona Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Odziedziczone z Object).
Metoda publiczna Get Pobierz metody ustawiającej właściwości
Metoda publiczna GetEnumerator Interfejs IEnumerable <Setter> wdrożenie
Metoda publiczna GetHashCode Serves as the default hash function. (Odziedziczone z Object).
Metoda publiczna GetType Gets the Type of the current instance. (Odziedziczone z Object).
Metoda chroniona MemberwiseClone Creates a shallow copy of the current Object. (Odziedziczone z Object).
Metoda publiczna Remove Usuwa pierwsze wystąpienie określonego obiektu z System.Collections.Generic.ICollection.
Metoda publiczna ToString Returns a string that represents the current object. (Odziedziczone z Object).

Początek

Jawne implementacje interfejsu

  Nazwa Opis
Jawna implementacja interfejsuMetoda prywatna IEnumerable.GetEnumerator Wdrożenie IEnumerable

Początek

Bezpieczeństwo wątku

Wszystkie publiczne static (Shared w języku Visual Basic) elementy członkowskie tego typu są bezpieczne dla wątków. Wystąpienia elementów członkowskich nie dają gwarancji bezpieczeństwa wątków.

Zobacz też

Informacje

Przestrzeń nazw Microsoft.VisualStudio.GraphModel.Styles