Sdílet prostřednictvím


PackageItems.IndexOf(String) Method

Definition

Reports the index of the occurrence of the specified string in this instance.

public:
 int IndexOf(System::String ^ streamName);
public int IndexOf (string streamName);
member this.IndexOf : string -> int
Public Function IndexOf (streamName As String) As Integer

Parameters

streamName
String

The name of the stream.

Returns

The index of the occurrence of the specified string in this instance.

Applies to