Condividi tramite


CheckinNote.Evaluate Method (CheckinNote, array<CheckinNoteFieldDefinition )

Evaluates a CheckinNote's CheckinNoteFieldValues against the supplied CheckinNoteFieldDefinitions and returns a CheckinNoteFailure for each note not specified, or each note specified that has no definition (extraneous notes).

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

Syntax

'Declaration
Public Shared Function Evaluate ( _
    note As CheckinNote, _
    fieldDefinitions As CheckinNoteFieldDefinition() _
) As CheckinNoteFailure()
public static CheckinNoteFailure[] Evaluate(
    CheckinNote note,
    CheckinNoteFieldDefinition[] fieldDefinitions
)
public:
static array<CheckinNoteFailure^>^ Evaluate(
    CheckinNote^ note, 
    array<CheckinNoteFieldDefinition^>^ fieldDefinitions
)
static member Evaluate : 
        note:CheckinNote * 
        fieldDefinitions:CheckinNoteFieldDefinition[] -> CheckinNoteFailure[] 
public static function Evaluate(
    note : CheckinNote, 
    fieldDefinitions : CheckinNoteFieldDefinition[]
) : CheckinNoteFailure[]

Parameters

Return Value

Type: array<Microsoft.TeamFoundation.VersionControl.Client.CheckinNoteFailure[]
The set of checkin note failures

.NET Framework Security

See Also

Reference

CheckinNote Class

Evaluate Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace