Export (0) Print
Expand All
Expand Minimize

SPFile.UIVersionLabel Property

Gets the version of the file.

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online

[ClientCallableAttribute]
[ClientCallableConstraintAttribute(Type = ClientCallableConstraintType.NotNull)]
public string UIVersionLabel { get; }

Property Value

Type: System.String
A string that contains the version of the file, including the major and minor version numbers in the format "n.n".
Caution noteCaution

The format of this property value might change in a future release of SharePoint Foundation. Therefore, it is recommended that you not write code that specifies the format of a UI version label by either parsing or constructing the string that is contained by this property.

Community Additions

ADD
Show:
© 2014 Microsoft