Share via


AudioBeamFrameList.IndexOf Method

Retrieves the zero-based index of the first occurrence of the specified audio beam frame in the audio beam frame list.

Syntax

public:
bool IndexOf(
         AudioBeamFrame^ value,
         out uint32 index
)
public bool IndexOf (
         AudioBeamFramevalue,
         out uint index
)
var boolean = audioBeamFrameList.indexOf(value, );

Parameters

  • value
    Type: AudioBeamFrame
    The audio beam frame to find in the list.

  • index

    [C++] 
    [C#] 
    [JavaScript] 

    Type: uint32
    Type: uint
    Type: Number

     

    If the item is found, this is the zero-based index of the item; otherwise, this parameter is 0.

Return value

[C++] 
[C#] 
[JavaScript] 

Type: bool
Type: bool
Type: Boolean

 

True if the item is found; otherwise, false.

Requirements

Namespace: WindowsPreview.Kinect

Metadata: windowspreview.kinect.winmd

See also

Reference

AudioBeamFrameList Class
WindowsPreview.Kinect Namespace