TextPanes.Item(Object) 方法

定义

返回 TextPane 集合中的对象 TextPanes

public:
 EnvDTE::TextPane ^ Item(System::Object ^ index);
public:
 EnvDTE::TextPane ^ Item(Platform::Object ^ index);
EnvDTE::TextPane Item(winrt::Windows::Foundation::IInspectable const & index);
[System.Runtime.InteropServices.DispId(0)]
public EnvDTE.TextPane Item (object index);
[<System.Runtime.InteropServices.DispId(0)>]
abstract member Item : obj -> EnvDTE.TextPane
Public Function Item (index As Object) As TextPane

参数

index
Object

必需。 要返回的 TextPane 对象的索引。

返回

TextPane

TextPane 对象。

属性

注解

传递给的值 Index 为一个整数,该整数是对象在集合中的索引, TextPane TextPanesTextPane 集合中的名称。

Item ArgumentException 如果集合找不到与索引值对应的对象,则该方法将引发异常。

适用于