SearchPathCollection.ResolveFile(String) method [SDM]
| SDM Reference |
SearchPathCollection.ResolveFile(String)
Finds the specified file in the search path and returns the file's fully qualified path. If the file name includes environmental variables, they are expanded.
public String ResolveFile(
String filename );
Public Function ResolveFile( _
ByVal filename As String _
) As String
Parameters
- filename
Name of file to search for.
Return Values
The fully-qualified path of the specified file. If the file is not found, it throws a FileNotFoundException.
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: November 2005 | What did you think of this topic? | Order a Platform SDK CD |
| © Microsoft Corporation. All rights reserved. Terms of use. |