M_Cyjb_Markdown_Syntax_HtmlAttributeList_IndexOf - CYJB/Cyjb.Markdown GitHub Wiki

HtmlAttributeList.IndexOf 方法

确定当前列表中指定对象的索引。

Namespace: Cyjb.Markdown.Syntax
Assembly: Cyjb.Markdown (in Cyjb.Markdown.dll) Version: 1.0.2+f073417ab111e884603147b5dc42e8ccc863a984

语法

C#

public override int IndexOf(
	KeyValuePair<string, string> item
)

参数

 

item
Type: System.Collections.Generic.KeyValuePair(String, String)
要在当前列表中定位的对象。

返回值

Type: Int32
如果在当前列表中找到 item,则为该对象的索引;否则为 -1

实现

IList(T).IndexOf(T)

参见

Reference

HtmlAttributeList 类
Cyjb.Markdown.Syntax 命名空间

⚠️ **GitHub.com Fallback** ⚠️