SearchPathCollection.Add(String) method [SDM]

 
Platform SDK: System Definition Model Overview

SearchPathCollection.Add(String)

Note: This documentation is preliminary and is subject to change.

Adds a directory to the search path collection. For example, if the directory parameter has the value "MyDir", this method adds the search path ".\Mydir" to the end of the collection of search paths. If the file name includes environmental variables, they are expanded.

[C#]
public void Add(
String directory );
FakePre-d260cdcc49814d008be294fe8301ef53-0691350b37844767826e39814c7ad9c0

Parameters

  • directory
    Directory to add to the search path collection.

Return Values

This method has no return values.

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

  
  Last updated: June 2005  |  What did you think of this topic?  |  Order a Platform SDK CD
  © Microsoft Corporation. All rights reserved. Terms of use.