System.ComponentModel.Container.CreateSite C# (CSharp) Method

CreateSite() protected method

Creates a Site for the given and assigns the given name to the site.

protected CreateSite ( IComponent component, string name ) : ISite
component IComponent
name string
return ISite
        protected virtual ISite CreateSite(IComponent component, string name)
        {
            return new Site(component, this, name);
        }