TextTipData Constructor
This constructor sets a service provider.
Namespace: Microsoft.VisualStudio.Package
Assemblies: Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Syntax
'宣言
Public Sub New ( _
site As IServiceProvider _
)
'使用
Dim site As IServiceProvider
Dim instance As New TextTipData(site)
public TextTipData(
IServiceProvider site
)
public:
TextTipData(
IServiceProvider^ site
)
new :
site:IServiceProvider -> TextTipData
public function TextTipData(
site : IServiceProvider
)
Parameters
- site
Type: System.IServiceProvider
A service provider.
Remarks
Throws the exception ArgumentNullException if site is NULL.
.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.