This documentation is archived and is not being maintained.
Workspace::Undo Method (array<ItemSpec>, Boolean, array<String>, array<String>)
Visual Studio 2013
Undo the pending changes for the specified items. The items may contain wildcard characters.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public: int Undo( array<ItemSpec^>^ itemSpecs, bool updateDisk, array<String^>^ itemAttributeFilters, array<String^>^ itemPropertyFilters )
Parameters
- itemSpecs
- Type: array<Microsoft.TeamFoundation.VersionControl.Client::ItemSpec>
the items for which to undo pending changes
- updateDisk
- Type: System::Boolean
if true, update the items on disk for the undo; otherwise, the disk is not modified
- itemAttributeFilters
- Type: array<System::String>
A list of versioned item properties to return with each get operation
- itemPropertyFilters
- Type: array<System::String>
List of property items.
- 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.
Show: