Udostępnij za pośrednictwem


TextPanes.Item(Object) Method

Definition

Returns a TextPane object in a TextPanes collection.

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

Parameters

index
Object

Required. The index of the TextPane object to return.

Returns

A TextPane object.

Attributes

Remarks

The value passed to Index is either an integer that is an index to a TextPane object in its TextPanes collection or the name of TextPane in the collection.

The Item method throws a ArgumentException exception if the collection cannot find the object that corresponds to the index value.

Applies to