ContainerProperties.GetListMemberPosition method (Visio)

Returns the ordinal position of the specified shape in the list.

Syntax

expression.GetListMemberPosition (ShapeMember)

expression A variable that represents a ContainerProperties object.

Parameters

Name Required/Optional Data type Description
ShapeMember Required Shape The list member shape for which you want to get the position in the container list.

Return value

Long

Remarks

If the specified shape is not a member of the list, Microsoft Visio returns an Invalid Parameter error.

List position is one-based.

If the container is not a list, Visio returns an Invalid Source error.

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.