IVersion.VersionName Property

IT Hit WebDAV for .NET

Name of the version.

[Visual Basic]
Property VersionName As String
[C#]
string VersionName {get;}

Property Value

String 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.

Example

The following example demonstrates how to list file versions.

                
string license = "<?xml version='1.0' encoding='utf...
WebDavSession session = new WebDavSession(license);
session.Credentials = new NetworkCredential("User1", "pwd");

IResource resource = session.OpenResource(new Uri("http://server/directory/resource.docx"));
IVersion[] versions = resource.GetVersions();
foreach (IVersion version in versions)
{
    MessageBox.Show(version.VersionName);
}
                
            

See Also

IVersion Interface | ITHit.WebDAV.Client Namespace