ViewFilter.GetExpansionProvider Method
Returns an ExpansionProvider object.
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)
Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Syntax
'Declaration
Public Overridable Function GetExpansionProvider As ExpansionProvider
public virtual ExpansionProvider GetExpansionProvider()
Return Value
Type: Microsoft.VisualStudio.Package.ExpansionProvider
If there is an expansion provider, returns an ExpansionProvider object; otherwise, returns nulla null reference (Nothing in Visual Basic).
Remarks
This method returns the expansion provider that handles code snippets. If the language service does not support code snippets, this method returns nulla null reference (Nothing in Visual Basic).
The base method forwards the call to the Source object's GetExpansionProvider method.
.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.