Remove Method of the SearchPathCollection Object

Remove Method of the SearchPathCollection Object

Removes the specified directory from the search path. If the file name includes environmental variables, they are expanded.

  [C#]
public void Remove(
  String directory
);

FakePre-47fc047a92a84c1b8c6ab7e0d85ebb47-611361045a3b4607943990770e8e4ff0

Parameters

  • directory
    Directory to remove from the search path.

Return Value

This method does not return a value.

Requirements

Namespace

Defined in Microsoft.SystemDefinitionModel.Tools.

Assembly

Requires SdmCompile (in SdmCompile.dll).

.NET Framework

Requires .NET Framework 2.0.

See Also

Microsoft.SystemDefinitionModel.Tools
SearchPathCollection

Send comments about this topic to Microsoft

Build date: 10/2/2007