FileField.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)
Available in Sandboxed Solutions: No

Syntax

'Declaration
Public Overrides Property Visible As Boolean
    Get
    Set
'Usage
Dim instance As FileField
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.

Remarks

If the value is not explicitly set to true, this override returns false unless the current list is a document library or the current list item is a folder.

See Also

Reference

FileField Class

FileField Members

Microsoft.SharePoint.WebControls Namespace