March 2003
Intermediate to advanced
896 pages
32h 35m
English
ISite
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; } }
Component.Site, Container.CreateSite( ), IComponent.Site,
MarshalByValueComponent.Site,
MemberDescriptor.GetSite()
Component.Site,
IComponent.Site,
MarshalByValueComponent.Site
Read now
Unlock full access