ViewFilter.GetExpansionProvider Method

Returns an ExpansionProvider object.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

声明
Public Overridable Function GetExpansionProvider As ExpansionProvider
用法
Dim instance As ViewFilter
Dim returnValue As ExpansionProvider

returnValue = instance.GetExpansionProvider()
public virtual ExpansionProvider GetExpansionProvider()
public:
virtual ExpansionProvider^ GetExpansionProvider()
abstract GetExpansionProvider : unit -> ExpansionProvider 
override GetExpansionProvider : unit -> ExpansionProvider 
public function GetExpansionProvider() : ExpansionProvider

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

See Also

Reference

ViewFilter Class

ViewFilter Members

Microsoft.VisualStudio.Package Namespace