Item Property

Microsoft Office Web Discussions Client Language

Item Property

       

Returns a Discussion object from a Discussions collection, or returns a DiscussionServer object from a DiscussionServers collection.

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