Nevron .NET Vision
Nevron.SmartShapes Namespace / NSmartShapeCollection Class / IndexOf Method
shape


In This Topic
    IndexOf Method (NSmartShapeCollection)
    In This Topic
    Determines the index of the shape in the collection
    Syntax
    'Declaration
     
    
    Public Function IndexOf( _
       ByVal shape As NSmartShape _
    ) As System.Integer
    'Usage
     
    
    Dim instance As NSmartShapeCollection
    Dim shape As NSmartShape
    Dim value As System.Integer
     
    value = instance.IndexOf(shape)
    public System.int IndexOf( 
       NSmartShape shape
    )

    Parameters

    shape
    shape

    Return Value

    index of the shape or -1 if it is not in the collection
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also