EditorFactoryPackage.SetSite(IServiceProvider) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when the shell loads editor.
public:
override int SetSite(Microsoft::VisualStudio::OLE::Interop::IServiceProvider ^ sp);
public override int SetSite (Microsoft.VisualStudio.OLE.Interop.IServiceProvider sp);
override this.SetSite : Microsoft.VisualStudio.OLE.Interop.IServiceProvider -> int
Public Overrides Function SetSite (sp As IServiceProvider) As Integer
Parameters
Visual Studio service provider for editor frame.
Returns
A fully initialized object.