Visual Studio 2013
Assembly: EnvDTE (in EnvDTE.dll)
throws a ArgumentException exception if Point is not in the same document as the calling point object.
- 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.