Checks if the item exists.
Namespace:  Microsoft.TeamFoundation.Build.Workflow.Activities
Assembly:  Microsoft.TeamFoundation.Build.Workflow (in Microsoft.TeamFoundation.Build.Workflow.dll)
Syntax
'Declaration
Public MustOverride Function Exists ( _
    item As String _
) As Boolean
public abstract bool Exists(
    string item
)
public:
virtual bool Exists(
    String^ item
) abstract
abstract Exists : 
        item:string -> bool
public abstract function Exists(
    item : String
) : boolean
Parameters
- item 
 Type: System.String- Item can be file or directory 
Return Value
Type: System.Boolean
True if the item exists
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.TeamFoundation.Build.Workflow.Activities Namespace