Udostępnij za pośrednictwem


TextPanes.Item Method

Returns a TextPane object in a TextPanes collection.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)

Syntax

'Declaration
Function Item ( _
    index As Object _
) As TextPane
TextPane Item(
    Object index
)
TextPane^ Item(
    [InAttribute] Object^ index
)
abstract Item : 
        index:Object -> TextPane 
function Item(
    index : Object
) : TextPane

Parameters

Return Value

Type: EnvDTE.TextPane
A TextPane object.

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.

.NET Framework Security

See Also

Reference

TextPanes Interface

EnvDTE Namespace

Other Resources

How to: Compile and Run the Automation Object Model Code Examples