SchemaNameCollection.IndexOf(String) 方法
定义
确定此集合中指定架构名的索引。Determines the index of a specified schema name in this collection.
public:
int IndexOf(System::String ^ value);
public int IndexOf (string value);
member this.IndexOf : string -> int
Public Function IndexOf (value As String) As Integer
参数
- value
- String
要搜索的架构名。The schema name to search for.
返回
指定架构名的从零开始的索引;如果在集合中未找到该架构名,则为 -1。The zero-based index of the specified schema name, or -1 if the schema name was not found in the collection.