PartialTrustVisibleAssemblyCollection.Clear Method

Definition

Removes all the PartialTrustVisibleAssembly objects from the collection.

C#
public void Clear();

Remarks

This method inserts a clear directive into the appropriate section of the configuration file to clear all references to elements that are defined in a higher-level configuration file. All elements that are defined in the current configuration file are also removed.

Applies to

Производ Верзије
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1