Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

ContextAttributes.Item Method

Returns a ContextAttribute object that is an item of the ContextAttributes collection.

Namespace:  EnvDTE
Assembly:  EnvDTE (in EnvDTE.dll)
ContextAttribute Item(
	Object index
)

Parameters

index
Type: System.Object

Required. The index of the ContextAttribute object to return.

Return Value

Type: EnvDTE.ContextAttribute
A ContextAttribute object.

The value passed to index is an integer that is either an index to a ContextAttribute object in its ContextAttributes collection or a string value that equates to the name of a ContextAttribute in the collection.

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.