共用方式為


CheckinNoteFieldDefinition Constructor

Initializes a new CheckinNoteFieldDefinition instance.

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

Syntax

'宣告
Public Sub New ( _
    name As String, _
    required As Boolean, _
    displayOrder As Integer _
)
public CheckinNoteFieldDefinition(
    string name,
    bool required,
    int displayOrder
)
public:
CheckinNoteFieldDefinition(
    String^ name, 
    bool required, 
    int displayOrder
)
new : 
        name:string * 
        required:bool * 
        displayOrder:int -> CheckinNoteFieldDefinition
public function CheckinNoteFieldDefinition(
    name : String, 
    required : boolean, 
    displayOrder : int
)

Parameters

  • required
    Type: System.Boolean
    True if the field cannot be null or empty; otherwise, false.
  • displayOrder
    Type: System.Int32
    The display order of the field.

.NET Framework Security

See Also

Reference

CheckinNoteFieldDefinition Class

Microsoft.TeamFoundation.VersionControl.Client Namespace