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)
Syntax
'Déclaration
Public Shared Function ConvertToChangeType ( _
flags As Integer _
) As ChangeType
public static ChangeType ConvertToChangeType(
int flags
)
public:
static ChangeType ConvertToChangeType(
int flags
)
static member ConvertToChangeType :
flags:int -> ChangeType
public static function ConvertToChangeType(
flags : int
) : ChangeType
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.
Remarks
This function is necessary because the server and client values for the enum are different.
.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.