ServiceDescriptor.ImplementationType 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得Type實作該服務的 ,或若 IsKeyedService 是 true則返回 null 。
public:
property Type ^ ImplementationType { Type ^ get(); };
[System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)]
public Type? ImplementationType { get; }
public Type? ImplementationType { get; }
[<System.Diagnostics.CodeAnalysis.DynamicallyAccessedMembers(System.Diagnostics.CodeAnalysis.DynamicallyAccessedMemberTypes.PublicConstructors)>]
member this.ImplementationType : Type
member this.ImplementationType : Type
Public ReadOnly Property ImplementationType As Type
屬性值
- 屬性
備註
若 IsKeyedService 是trueKeyedImplementationType,則應改為 。