다음을 통해 공유


OleServiceProvider.AddService(Type, Object, Boolean) Method

Definition

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

Applies to