Item Property

Office Web Discussions Client Visual Basic

expression.Item(Index)

expression Required. An expression that returns a Discussion or DiscussionServer object.

Index    Required Variant. The index number of the discussion or discussion server to be returned.

Example

This example uses the Item property to display a message box containing the name of the author of second response to the fifth discussion on the current file or folder.

MsgBox dscDiscussions.Item(5).Discussions.Item(2).Author