PackageItems.IndexOf(String) 方法

定义

报告此实例中指定字符串的匹配项的索引。

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

参数

streamName
String

流的名称。

返回

Int32

此实例中指定字符串的匹配项的索引。

适用于