Compartir a través de


ViewFilter.GetExpansionProvider Method

Definition

Returns an ExpansionProvider object.

public:
 virtual Microsoft::VisualStudio::Package::ExpansionProvider ^ GetExpansionProvider();
public virtual Microsoft.VisualStudio.Package.ExpansionProvider GetExpansionProvider ();
abstract member GetExpansionProvider : unit -> Microsoft.VisualStudio.Package.ExpansionProvider
override this.GetExpansionProvider : unit -> Microsoft.VisualStudio.Package.ExpansionProvider
Public Overridable Function GetExpansionProvider () As ExpansionProvider

Returns

If there is an expansion provider, returns an ExpansionProvider object; otherwise, returns null.

Remarks

This method returns the expansion provider that handles code snippets. If the language service does not support code snippets, this method returns null.

The base method forwards the call to the Source object's GetExpansionProvider method.

Applies to