IVsExpansionManager2::EnumerateExpansionsAsync Method (Guid, Int32, array<String^>^, Int32, Int32, Int32, IVsTask^%)
Visual Studio 2015
Aysnchronously enumerates the expansions associated with the specified GUID.
Assembly: Microsoft.VisualStudio.TextManager.Interop.14.2.DesignTime (in Microsoft.VisualStudio.TextManager.Interop.14.2.DesignTime.dll)
int EnumerateExpansionsAsync( Guid guidLang, int fShortCutOnly, array<String^>^ bstrTypes, int iCountTypes, int fIncludeNULLType, int fIncludeDuplicates, [OutAttribute] IVsTask^% ppTask )
Parameters
- guidLang
-
Type:
System::Guid
The GUID of the language associated with snippets.
- fShortCutOnly
-
Type:
System::Int32
Determines whether only shortcut should be checked for duplication.
- bstrTypes
-
Type:
array<System::String^>^
An array of expansion type names.
- iCountTypes
-
Type:
System::Int32
The number of expansion types.
- fIncludeNULLType
-
Type:
System::Int32
Determines whether null snippet type are allowed.
- fIncludeDuplicates
-
Type:
System::Int32
Determines whether two snippets with the same title/shortcut are allowed.
- ppTask
-
Type:
Microsoft.VisualStudio.Shell.Interop::IVsTask^%
An asynchronous Task that fetches the expansion enumerator.
Return Value
Type: System::Int32
Show: