Bewerken

Share via


AssemblyBuilder.IsCollectible Property

Definition

Gets a value that indicates whether this dynamic assembly is 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

Property Value

true if this dynamic assembly is held in a collectible AssemblyLoadContext; otherwise, false.

Remarks

For more information, see How to use and debug assembly unloadability in .NET Core.

Applies to