ISite

ISite

System.ComponentModel (system.dll) interface

This interface, derived from IServiceProvider is used to connect a Component to its Container .

In addition to providing accessors for the host services, you can find the Name of the component and whether the component is currently being used in DesignMode .

 public interface  ISite  : IServiceProvider {  // Public Instance Properties  public IComponent  Component  {get; }    public IContainer  Container  {get; }    public bool  DesignMode  {get; }    public string  Name  {set; get; } } 

Returned By

Component.Site , Container.CreateSite( ) , IComponent.Site , MarshalByValueComponent.Site , MemberDescriptor.GetSite()

Passed To

Component.Site , IComponent.Site , MarshalByValueComponent.Site



. Net Windows Forms in a Nutshell
.NET Windows Forms in a Nutshell
ISBN: 0596003382
EAN: 2147483647
Year: 2002
Pages: 794

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net