ServiceDescriptor.ImplementationType 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取Type实现服务或返回 null if is 的IsKeyedServicetrue项。
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
属性值
- 特性
注解
true如果是IsKeyedService,KeyedImplementationType则应改为调用。