DeploymentItem.CheckDeploymentItem(String, String, String) Method

Definition

Verifies whether the path and outputDirectory parameters indicate locations that exist.

public:
 static bool CheckDeploymentItem(System::String ^ path, System::String ^ outputDirectory, [Runtime::InteropServices::Out] System::String ^ % errorMessage);
public static bool CheckDeploymentItem (string path, string outputDirectory, out string errorMessage);
static member CheckDeploymentItem : string * string * string -> bool
Public Shared Function CheckDeploymentItem (path As String, outputDirectory As String, ByRef errorMessage As String) As Boolean

Parameters

path
String

A string that contains the location of the item.

outputDirectory
String

A string that contains the path of the test output. The value of this parameter is relative to the value of the path parameter.

errorMessage
String

An output string that contains an error message if the item does not exist.

Returns

true if the parameters are valid; otherwise, false.

Applies to