共用方式為


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

'宣告
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

See Also

Reference

PendingChange Class

Microsoft.TeamFoundation.VersionControl.Client Namespace