ToolLocationHelper.GetPathToSystemFile(String) Method

Definition

Gets a fully qualified path to a file in the system directory.

public:
 static System::String ^ GetPathToSystemFile(System::String ^ fileName);
public static string GetPathToSystemFile (string fileName);
static member GetPathToSystemFile : string -> string
Public Shared Function GetPathToSystemFile (fileName As String) As String

Parameters

fileName
String

The file to locate in the System folder.

Returns

A string containing the fully qualified path to the file in the system directory.

Remarks

This API builds the full path plus filename for a file in the System folder. It doesn't check for the existence of the file prior to returning.

Applies to