PendingChange.ConvertToChangeType Method

Converts the ChangeType integer value that is returned from the server into a ChangeType enum.

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

public static ChangeType ConvertToChangeType(
	int flags
)

Parameters

flags
Type: System.Int32

The ChangeType integer value to convert.

Return Value

Type: Microsoft.TeamFoundation.VersionControl.Client.ChangeType
The ChangeType as an enum value.

This function is necessary because the server and client values for the enum are different.

Show: