Freigeben über


IVsExpansionManager2.EnumerateExpansionsAsync Method

Definition

Aysnchronously enumerates the expansions associated with the specified GUID.

public:
 int EnumerateExpansionsAsync(Guid guidLang, int fShortCutOnly, cli::array <System::String ^> ^ bstrTypes, int iCountTypes, int fIncludeNULLType, int fIncludeDuplicates, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsTask ^ % ppTask);
public int EnumerateExpansionsAsync (Guid guidLang, int fShortCutOnly, string[] bstrTypes, int iCountTypes, int fIncludeNULLType, int fIncludeDuplicates, out Microsoft.VisualStudio.Shell.Interop.IVsTask ppTask);
abstract member EnumerateExpansionsAsync : Guid * int * string[] * int * int * int * IVsTask -> int
Public Function EnumerateExpansionsAsync (guidLang As Guid, fShortCutOnly As Integer, bstrTypes As String(), iCountTypes As Integer, fIncludeNULLType As Integer, fIncludeDuplicates As Integer, ByRef ppTask As IVsTask) As Integer

Parameters

guidLang
Guid

The GUID of the language associated with snippets.

fShortCutOnly
Int32

Determines whether only shortcut should be checked for duplication.

bstrTypes
String[]

An array of expansion type names.

iCountTypes
Int32

The number of expansion types.

fIncludeNULLType
Int32

Determines whether null snippet type are allowed.

fIncludeDuplicates
Int32

Determines whether two snippets with the same title/shortcut are allowed.

ppTask
IVsTask

An asynchronous Task that fetches the expansion enumerator.

Returns

Applies to