TypeDelegator.IsCollectible 属性

定义

获取此对象的 IsCollectibletypeImpl 值,该值指示此对象(为一个 MemberInfo 实现)是否是可回收 AssemblyLoadContext 中保存的程序集的一部分。Gets the IsCollectible value for this object's typeImpl, which indicates whether this object, which is a MemberInfo implementation, is part of an assembly held in a collectible AssemblyLoadContext.

public:
 virtual property bool IsCollectible { bool get(); };
public override bool IsCollectible { get; }
member this.IsCollectible : bool
Public Overrides ReadOnly Property IsCollectible As Boolean

属性值

true 如果此对象是一个 MemberInfo 实现,则是保存在可回收程序集加载上下文中的程序集的一部分;否则,falsetrue if this object, which is a MemberInfo implementation, is part of an assembly held in a collectible assembly load context; otherwise, false.

适用于