mshtml.IHTMLElementCollection.item(object name,object index)使用方法
2012-12-19 12:36
555 查看
that specifies the object or collection to retrieve. If this parameter is an integer, it is the zero-based index of the object. If this parameter is a string, all objects with matching name or id properties are retrieved, and a collection is returned if more than one match is made.
当第一个参数为字符时,查找相匹配的名称,如果第一个参数为数值,根据索引返回.
当第一个参数为字符时,查找相匹配的名称,如果第一个参数为数值,根据索引返回.
相关文章推荐
- GetItemValue、Itemname使用方法
- .NET中使用GridView控件输入数据时出现“ Index was out of range. Must be non-negative and less than the size of the collection. Parameter name: index"的问题
- ID为GUID类型时使用ObjectDataSource控件的时候的未找到DataObjectTypeName属性的解决方法
- 使用Container.ItemIndex获取Repeater、Gridview行的序号的简单方法
- 使用Object.definePropery方法定义一个只读对象实例
- WebSocket使用javax.websocket.RemoteEndpoint.Basic.sendObject(Object arg0)向页面方法发送对象
- CSS z-index 属性的使用方法和层级树的概念
- Effective Java Item3:使用私有构造方法或者枚举类型实现单例
- Object-c @property的使用方法
- CSS z-index 属性的使用方法和层级树的概念
- jquery之管理包装元素集合(从包装集获取元素,get()方法与index()方法的使用)
- 关于struts2 API 中InputConfig 内 methodName 和resultName的使用方法
- js中的object的使用方法
- 使用autolayout的NSLayoutConstraint类中的constraintWithItem 、constraintsWithVisualFormat这两个类方法来创建视图并可以实现自动布局
- JSONObject使用方法及详解
- asp.net 数据集 使用DataObjectTypeName
- TextBox属性Text 中使用DataBinder.Eval(Container.DataItem, "VacationWork_order")的时候出错的解决方法
- perl XML::Parser使用object方法处理XML
- Java网络编程从入门到精通(5):使用InetAddress类的getHostName方法获得域名
- SharePoint 2010中使用SPListItemCollectionPosition更快的结果