Aracılığıyla paylaş


IndirectPositionCollection.IndexOf Method

Note

This method is available only when developing for Windows.

Gets the index of the specified position in a collection.

Syntax

'Declaration
Public Function IndexOf ( _
         item As Vector3 _
) As Integer 
public int IndexOf (
         Vector3 item
)
public:
int IndexOf(
         Vector3 item
)

Parameters

  • item
    Type: Vector3
    Position being searched for.

Return Value

Type: Int32
Index of the specified position.

Requirements

Namespace: Microsoft.Xna.Framework.Content.Pipeline.Graphics

Assembly: Microsoft.Xna.Framework.Content.Pipeline (in microsoft.xna.framework.content.pipeline.dll)

See Also

Reference

IndirectPositionCollection Class
IndirectPositionCollection Members
Microsoft.Xna.Framework.Content.Pipeline.Graphics Namespace

Platforms

Windows 7, Windows Vista, Windows XP