FileField.Value Property
Gets or sets the file name in the UI.
Namespace: Microsoft.SharePoint.WebControls
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: No
Syntax
'Declaration
Public Overrides Property Value As Object
Get
Set
'Usage
Dim instance As FileField
Dim value As Object
value = instance.Value
instance.Value = value
public override Object Value { get; set; }
Property Value
Type: System.Object
A String (cast as an Object) that represents the file name.
Remarks
This override is essentially a wrapper for the Text property. But there are two differences between its behavior and the behavior of Text. Value always returns the full file name, including the extension (if there is one), and its set accessor always trims the file extension for the value passed to it (unless the current list item is a folder).