CustomTaskPaneCollection.Item Property
Gets the CustomTaskPane at the specified index.
Namespace: Microsoft.Office.Tools
Assembly: Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)
Syntax
'Declaration
ReadOnly Default Property Item ( _
index As Integer _
) As CustomTaskPane
CustomTaskPane this[
int index
] { get; }
Parameters
index
Type: System.Int32The zero-based index of the CustomTaskPane to get.
Property Value
Type: Microsoft.Office.Tools.CustomTaskPane
The CustomTaskPane at the specified index.
Exceptions
Exception | Condition |
---|---|
ObjectDisposedException | The Dispose method has already been called on the CustomTaskPaneCollection. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.