語言

SchemaNameCollection.IndexOf(String) 方法

定義

決定此集合中指定結構名稱的索引。

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

參數

value
String

要搜尋的模式名稱。

傳回

指定結構名稱的零基索引,若集合中未找到該結構名稱,則為 -1。

適用於