Share via


VertexChannelCollection.IndexOf Method (String)

Note

This method is available only when developing for Windows.

Determines the index of a vertex channel with the specified name.

Syntax

'Declaration
Public Function IndexOf ( _
         name As String _
) As Integer 
public int IndexOf (
         string name
)
public:
int IndexOf(
         String name
)

Parameters

  • name
    Type: String
    Name of the vertex channel being searched for.

Return Value

Type: Int32
Index of the vertex channel.

Requirements

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

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

See Also

Reference

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

Platforms

Windows 7, Windows Vista, Windows XP