GradientStopCollection Oluşturucular

Tanım

GradientStopCollection sınıfının yeni bir örneğini başlatır.

Aşırı Yüklemeler

GradientStopCollection()

GradientStopCollection sınıfının yeni bir örneğini başlatır.

GradientStopCollection(IEnumerable<GradientStop>)

Belirtilen koleksiyondaki GradientStopCollection öğeleri içeren sınıfının yeni bir örneğini başlatır.

GradientStopCollection(Int32)

Başlangıçta belirtilen öğe sayısını depolayabilen sınıfın yeni bir örneğini GradientStopCollection başlatır.

GradientStopCollection()

GradientStopCollection sınıfının yeni bir örneğini başlatır.

public:
 GradientStopCollection();
public GradientStopCollection ();
Public Sub New ()

Şunlara uygulanır

GradientStopCollection(IEnumerable<GradientStop>)

Belirtilen koleksiyondaki GradientStopCollection öğeleri içeren sınıfının yeni bir örneğini başlatır.

public:
 GradientStopCollection(System::Collections::Generic::IEnumerable<System::Windows::Media::GradientStop ^> ^ collection);
public GradientStopCollection (System.Collections.Generic.IEnumerable<System.Windows.Media.GradientStop> collection);
new System.Windows.Media.GradientStopCollection : seq<System.Windows.Media.GradientStop> -> System.Windows.Media.GradientStopCollection
Public Sub New (collection As IEnumerable(Of GradientStop))

Parametreler

collection
IEnumerable<GradientStop>

Kopyalanacak koleksiyon.

Özel durumlar

collection, null değeridir.

Şunlara uygulanır

GradientStopCollection(Int32)

Başlangıçta belirtilen öğe sayısını depolayabilen sınıfın yeni bir örneğini GradientStopCollection başlatır.

public:
 GradientStopCollection(int capacity);
public GradientStopCollection (int capacity);
new System.Windows.Media.GradientStopCollection : int -> System.Windows.Media.GradientStopCollection
Public Sub New (capacity As Integer)

Parametreler

capacity
Int32

Koleksiyonun başlangıçta depolayabildiği nesne sayısı GradientStop .

Şunlara uygulanır