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 如果MemberInfo保留在可回收組件載入內容的組件的一部分,否則falsetrue 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.

適用於