NestedContainer.CreateSite(IComponent, String) Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
Kapsayıcı içindeki bileşen için bir site oluşturur.
protected:
override System::ComponentModel::ISite ^ CreateSite(System::ComponentModel::IComponent ^ component, System::String ^ name);
protected override System.ComponentModel.ISite CreateSite (System.ComponentModel.IComponent component, string name);
protected override System.ComponentModel.ISite CreateSite (System.ComponentModel.IComponent component, string? name);
override this.CreateSite : System.ComponentModel.IComponent * string -> System.ComponentModel.ISite
Protected Overrides Function CreateSite (component As IComponent, name As String) As ISite
Parametreler
- component
- IComponent
IComponent için bir site oluşturulacak.
- name
- String
öğesine atanacak component
veya null
ad atamasını atacak ad.
Döndürülenler
Yeni oluşturulan ISite.
Özel durumlar
component
, null
değeridir.
Açıklamalar
name
parametresi isenull
, IComponent tanımlayıcı bir ad olmadan iç içe kapsayıcıya eklenir.
Şunlara uygulanır
Ayrıca bkz.
GitHub'da bizimle işbirliği yapın
Bu içeriğin kaynağı GitHub'da bulunabilir; burada ayrıca sorunları ve çekme isteklerini oluşturup gözden geçirebilirsiniz. Daha fazla bilgi için katkıda bulunan kılavuzumuzu inceleyin.