The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
DeploymentItem::CheckDeploymentItem Method (String^, String^, String^)
Verifies whether the path and outputDirectory parameters indicate locations that exist.
Assembly: Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)
public: static bool CheckDeploymentItem( String^ path, String^ outputDirectory, [OutAttribute] String^% errorMessage )
Parameters
- path
-
Type:
System::String^
A string that contains the location of the item.
- outputDirectory
-
Type:
System::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
-
Type:
System::String^
An output string that contains an error message if the item does not exist.
Does not throw an exception if the item does not exist. The value of the errorMessage parameter indicates why the validation failed.
Show: