IVersionAsyncVersionName Property
IT Hit WebDAV Classes Reference
Name of the version.
Namespace:
ITHit.WebDAV.Client
Assembly:
ITHit.WebDAV.Client (in ITHit.WebDAV.Client.dll) Version: 2.0.420.0
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");
IFileAsync file = await session.OpenFileAsync(new Uri("http://server/directory/file.docx"));
IVersionAsync[] versions = await file.GetVersionsAsync();
foreach (IVersionAsync version in versions)
{
MessageBox.Show(version.VersionName);
}
See Also