Control.Site Eigenschaft
Definition
Ruft Informationen zum Container ab, der das aktuelle Steuerelement hostet, wenn es auf einer Entwurfsoberfläche gerendert wird.Gets information about the container that hosts the current control when rendered on a design surface.
public:
property System::ComponentModel::ISite ^ Site { System::ComponentModel::ISite ^ get(); void set(System::ComponentModel::ISite ^ value); };
[System.ComponentModel.Browsable(false)]
public System.ComponentModel.ISite Site { get; set; }
member this.Site : System.ComponentModel.ISite with get, set
Public Property Site As ISite
Eigenschaftswert
Eine ISite, die Informationen zum Container enthält, in dem das Steuerelement gehostet ist.An ISite that contains information about the container that the control is hosted in.
Implementiert
- Attribute
Ausnahmen
Das Steuerelement ist ein Substitution-Steuerelement.The control is a Substitution control.
Hinweise
Eine Site bindet ein Component Objekt an ein Container Objekt und ermöglicht die Kommunikation zwischen den beiden.A site binds a Component object to a Container object and enables communication between the two. Es bietet auch eine Möglichkeit für den Container, seine Komponenten zu verwalten.It also provides a way for the container to manage its components.