This documentation is archived and is not being maintained.

Workspace.PendPropertyChange Method (String, PropertyValue[], RecursionType, LockLevel)

Pends changes on the passed in path giving it the passed in properties.

Note, property changes are merged with existing properties on the server. To delete an existing property pass in a property that has the desired name and a value of null.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

public int PendPropertyChange(
	string path,
	PropertyValue[] properties,
	RecursionType recursion,
	LockLevel lockLevel


Type: System.String

The path to pend the property changes on.

Type: Microsoft.TeamFoundation.Framework.Client.PropertyValue[]

The properties to pend as changes.

Type: Microsoft.TeamFoundation.VersionControl.Client.RecursionType

The amount of recursion to use on the items.

Type: Microsoft.TeamFoundation.VersionControl.Client.LockLevel

The lock level to put on the resulting pending change.

Return Value

Type: System.Int32
The number of files checked out