TargetCollection.Exists(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether the specified Target exists in the TargetCollection.
public:
bool Exists(System::String ^ targetName);
public bool Exists (string targetName);
member this.Exists : string -> bool
Public Function Exists (targetName As String) As Boolean
Parameters
- targetName
- String
The Name
attribute of the Target element to search for.
Returns
true
if the Target
element exists; otherwise, false
.