Share via


VertexChannelCollection.Insert Generic Method (Int32, String, Generic IEnumerable)

Note

This generic method is available only when developing for Windows.

Inserts a new vertex channel at the specified position.

Syntax

'Declaration
Public Function Insert(Of ElementType) ( _
         index As Integer, _
         name As String, _
         channelData As IEnumerable(Of ElementType) _
) As VertexChannel(Of ElementType) 
public VertexChannel<ElementType> Insert<ElementType> (
         int index,
         string name,
         IEnumerable<ElementType> channelData
)
public:
generic<typename ElementType>
VertexChannel<ElementType> Insert(
         int index,
         String name,
         IEnumerable<ElementType> channelData
)

Type Parameters

  • ElementType
    Type of the new channel.

Parameters

  • index
    Type: Int32
    Index for channel insertion.
  • name
    Type: String
    Name of the new channel.
  • channelData
    Type: IEnumerable<ElementType>
    The new channel.

Return Value

Type: VertexChannel<ElementType>
The inserted 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