ExpressionEditorSheet::ServiceProvider Property
Gets the service provider implementation that is used by the expression editor sheet.
Assembly: System.Design (in System.Design.dll)
[BrowsableAttribute(false)] public: property IServiceProvider^ ServiceProvider { IServiceProvider^ get (); }
Property Value
Type: System::IServiceProviderAn IServiceProvider, typically provided by the design host, that can be used to obtain additional design-time services.
Use the ExpressionEditorSheet constructor to set the ServiceProvider implementation for a custom expression editor sheet.
The ServiceProvider property can be used to access services that are provided by the designer host. For example, call the GetService method with the IWebApplication interface to access project items, documents, or configuration file details that are provided through the visual designer.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.