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.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for