次の方法で共有


ServiceDescriptor.ImplementationInstance Property

Definition

Gets the instance that implements the service, or returns null if IsKeyedService is true.

public:
 property System::Object ^ ImplementationInstance { System::Object ^ get(); };
public object? ImplementationInstance { get; }
member this.ImplementationInstance : obj
Public ReadOnly Property ImplementationInstance As Object

Property Value

Remarks

If IsKeyedService is true, KeyedImplementationInstance should be called instead.

Applies to