IResource.GetCurrentVersion Method 

IT Hit WebDAV for .NET

Current item version. Null, if item is not under version control.

[Visual Basic]
Function GetCurrentVersion() As IVersion
[C#]
IVersion GetCurrentVersion();

Exceptions

Exception Type Condition
UnauthorizedException Request is not authorized.
NotFoundException This resource doesn't exist on the server.
WebDavHttpException Server returned unknown error.
WebDavException In case of any unexpected error.

See Also

IResource Interface | ITHit.WebDAV.Client Namespace