IExpansionManager::EnumerateExpansionsAsync Method (Guid, Int32, array<String^>^, Int32, Int32, Int32)
Visual Studio 2015
Aysnchronously enumerates the expansions associated with the specified GUID.
Assembly: Microsoft.VisualStudio.Editor (in Microsoft.VisualStudio.Editor.dll)
Task<IVsExpansionEnumeration^>^ EnumerateExpansionsAsync( Guid guidLang, int shortCutOnly, array<String^>^ types, int countTypes, int includeNULLType, int includeDuplicates )
Parameters
- guidLang
-
Type:
System::Guid
The GUID of the language associated with snippets.
- shortCutOnly
-
Type:
System::Int32
Determines whether only shortcut should be checked for duplication.
- types
-
Type:
array<System::String^>^
An array of expansion type names.
- countTypes
-
Type:
System::Int32
The number of expansion types.
- includeNULLType
-
Type:
System::Int32
Determines whether null snippet type are allowed.
- includeDuplicates
-
Type:
System::Int32
Determines whether two snippets with the same title/shortcut are allowed.
Return Value
Type: System.Threading.Tasks::Task<IVsExpansionEnumeration^>^An asynchronous Task that fetches the expansion enumerator.
Show: