Assembly: EnvDTE (in EnvDTE.dll)
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 method throws a ArgumentException exception if the collection cannot find the object that corresponds to the index value.
- 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.