Comments.Item Property (Visio)

Office 2013 and later
GitHub-Mark-64px

Contribute to this content

Use GitHub to suggest and submit changes. See our guidelines for contributing to VBA documentation.

Returns an object from a collection. The Item property is the default property for all collections. Read-only Comment.

expression .Item

expression A variable that represents a Comments object.

Parameters

Name

Required/Optional

Data Type

Description

Index

Required

Long

Contains the index of the object to retrieve.

Return Value

Comment

When retrieving objects from a collection, you can omit Item from the expression because it is the default property for all collections. The following statement is equivalent to the syntax example given above:

objRet = object(index)

IVCOMMENT

Other resources

Show:
© 2016 Microsoft