Delen via


Workspace.PendPropertyChange Method (array<String , PropertyValue, RecursionType, LockLevel)

Pends changes on the passed in paths giving each of them the passed in property.

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)

Syntax

'Declaration
Public Function PendPropertyChange ( _
    paths As String(), _
    property As PropertyValue, _
    recursion As RecursionType, _
    lockLevel As LockLevel _
) As Integer
public int PendPropertyChange(
    string[] paths,
    PropertyValue property,
    RecursionType recursion,
    LockLevel lockLevel
)
public:
int PendPropertyChange(
    array<String^>^ paths, 
    PropertyValue^ property, 
    RecursionType recursion, 
    LockLevel lockLevel
)
member PendPropertyChange : 
        paths:string[] * 
        property:PropertyValue * 
        recursion:RecursionType * 
        lockLevel:LockLevel -> int
public function PendPropertyChange(
    paths : String[], 
    property : PropertyValue, 
    recursion : RecursionType, 
    lockLevel : LockLevel
) : int

Parameters

  • paths
    Type: array<System.String[]

    The paths to pend the property changes on.

Return Value

Type: System.Int32
The number of files checked out

.NET Framework Security

See Also

Reference

Workspace Class

PendPropertyChange Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace