MemberInfo.IsCollectible MemberInfo.IsCollectible MemberInfo.IsCollectible MemberInfo.IsCollectible Property

定义

获取一个值,该值指示此 MemberInfo 对象是否是包含在可回收的 AssemblyLoadContext 中的程序集的一部分。Gets a value that indicates whether this MemberInfo object is part of an assembly held in a collectible AssemblyLoadContext.

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

属性值

true如果是保存在可回收程序集加载上下文中的程序集的一部分, false则为; 否则为。 MemberInfotrue if the MemberInfo is part of an assembly held in a collectible assembly load context; otherwise, false.

注解

有关详细信息,请参阅如何在 .Net Core 中使用和调试程序集 unloadabilityFor more information, see How to use and debug assembly unloadability in .NET Core.

适用于