OleServiceProvider.AddService(Type, Object, Boolean) 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.
public:
void AddService(Type ^ serviceType, System::Object ^ serviceInstance, bool shouldDisposeServiceInstance);
public void AddService (Type serviceType, object serviceInstance, bool shouldDisposeServiceInstance);
member this.AddService : Type * obj * bool -> unit
Public Sub AddService (serviceType As Type, serviceInstance As Object, shouldDisposeServiceInstance As Boolean)
Parameters
- serviceType
- Type
- serviceInstance
- Object
- shouldDisposeServiceInstance
- Boolean