共用方式為


CheckinNoteFieldDefinition.Required Property

Gets or sets a flag that describes whether this field is required.

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

Syntax

'宣告
Public Property Required As Boolean
    Get
    Set
public bool Required { get; set; }
public:
property bool Required {
    bool get ();
    void set (bool value);
}
member Required : bool with get, set
function get Required () : boolean
function set Required (value : boolean)

Property Value

Type: System.Boolean
True if this field is required; otherwise, false.

.NET Framework Security

See Also

Reference

CheckinNoteFieldDefinition Class

Microsoft.TeamFoundation.VersionControl.Client Namespace