Partager via


RequiredFieldMessage.Visible property

Gets or sets a value that indicates whether the field is visible.

Namespace:  Microsoft.SharePoint.WebControls
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Overrides Property Visible As Boolean
    Get
    Set
'Usage
Dim instance As RequiredFieldMessage
Dim value As Boolean

value = instance.Visible

instance.Visible = value
public override bool Visible { get; set; }

Property value

Type: System.Boolean
true if the field is visible; otherwise, false.

See also

Reference

RequiredFieldMessage class

RequiredFieldMessage members

Microsoft.SharePoint.WebControls namespace