ServiceDescriptor.KeyedImplementationType プロパティ

定義

サービスを実装するTypeを取得するか、IsKeyedServicefalseされている場合はInvalidOperationExceptionをスローします。

public:
 property Type ^ KeyedImplementationType { Type ^ get(); };
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]
public Type? KeyedImplementationType { get; }
public Type? KeyedImplementationType { get; }
[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)>]
member this.KeyedImplementationType : Type
member this.KeyedImplementationType : Type
Public ReadOnly Property KeyedImplementationType As Type

プロパティ値

属性

注釈

IsKeyedServicefalse場合は、代わりにImplementationTypeを呼び出す必要があります。

適用対象