ServiceDescriptor.KeyedImplementationInstance 屬性

定義

取得實作該服務的實例,或拋出 InvalidOperationExceptionIsKeyedServicefalse

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

屬性值

備註

IsKeyedServicefalseImplementationInstance,則應改為 。

適用於