How do I retrieve the comment from a specific version of a file?

Submitted by: Administrator
This requires that you iterate through each version of the file looking for the label you want. Once the correct version of the file is identified you can retrieve the comment for that version. Below is some sample VB code demonstrating this: For Each objVSSVersion In objVSSObject.Versions If objVSSVersion.Action = "Beta 1" Then MsgBox(objVSSVersion.LabelComment) End If Next
Submitted by: Administrator

Read Online XML DOM Job Interview Questions And Answers