Partager via


ContainerProperties.GetListMemberPosition Method (Visio)

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

Version Information

Version Added: Visio 2010

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.