MethodData Constructor (IServiceProvider^)
Visual Studio 2015
Initializes a new instance of the MethodData class.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Parameters
- site
-
Type:
System::IServiceProvider^
[in] An IServiceProvider object that is to be used as the service provider.
If you derive a class from this class, you must call the base class constructor.
This constructor caches the service provider and obtains an instance of a Package object from the service provider (typically the VSPackage that implements the language service). The constructor then calls the CreateInstance method on the Package object to instantiate an IVsMethodTipWindow interface. Finally, if the IVsMethodTipWindow object is successfully created, the constructor calls the SetMethodData method on the IVsMethodTipWindow object, passing in this MethodData object that is being constructed.
Show: