IVersionVersionName Property
IT Hit WebDAV Classes Reference
Name of the version.
Namespace:
ITHit.WebDAV.Client
Assembly:
ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 6.0.4052-Beta
Syntax string VersionName { get; }
ReadOnly Property VersionName As String
Get
property String^ VersionName {
String^ get ();
}
abstract VersionName : string with get
Property Value
Type:
StringString representing version name.
Remarks
This property contains a server-defined string that is different for each version.
This string is intended for display for a user.
Examples
The following example demonstrates how to list file versions.
string license = "<?xml version='1.0' encoding='utf...
WebDavSessionAsync session = new WebDavSessionAsync(license);
session.Credentials = new NetworkCredential("User1", "pwd");
IFile file = await session.GetFileAsync(new Uri("https://server/directory/file.docx"));
IVersion[] versions = await file.GetVersionsAsync();
foreach (IVersion version in versions)
{
MessageBox.Show(version.VersionName);
}
See Also