VsExpansionPackageClass VsExpansionPackageClass VsExpansionPackageClass VsExpansionPackageClass VsExpansionPackageClass Class

Definition

Represents the expansion manager, which knows how to find and display lists of code snippets for a particular coding language.

public ref class VsExpansionPackageClass : Microsoft::VisualStudio::TextManager::Interop::VsExpansionPackage
[Windows::Foundation::Metadata::WebHostHidden]
class VsExpansionPackageClass : Microsoft::VisualStudio::TextManager::Interop::VsExpansionPackage
[System.Runtime.InteropServices.ClassInterface(0)]
[System.Runtime.InteropServices.Guid("0B680757-2C29-4531-80FA-535A5178AA98")]
[System.Runtime.InteropServices.TypeLibType(2)]
public class VsExpansionPackageClass : Microsoft.VisualStudio.TextManager.Interop.VsExpansionPackage
type VsExpansionPackageClass = class
    interface IVsExpansionManager
    interface VsExpansionPackage
Public Class VsExpansionPackageClass
Implements VsExpansionPackage
Inheritance
VsExpansionPackageClassVsExpansionPackageClassVsExpansionPackageClassVsExpansionPackageClassVsExpansionPackageClass
Attributes
Implements

Remarks

You cannot create an instance of this class with the new keyword. Instead, you must get the ILocalRegistry object and create the object with CreateInstance. The MPF wraps this method with CreateInstance.

Constructors

VsExpansionPackageClass() VsExpansionPackageClass() VsExpansionPackageClass() VsExpansionPackageClass() VsExpansionPackageClass()

Initializes a new instance of VsExpansionPackageClass.

Methods

EnumerateExpansions(Guid, Int32, String[], Int32, Int32, Int32, IVsExpansionEnumeration) EnumerateExpansions(Guid, Int32, String[], Int32, Int32, Int32, IVsExpansionEnumeration) EnumerateExpansions(Guid, Int32, String[], Int32, Int32, Int32, IVsExpansionEnumeration) EnumerateExpansions(Guid, Int32, String[], Int32, Int32, Int32, IVsExpansionEnumeration) EnumerateExpansions(Guid, Int32, String[], Int32, Int32, Int32, IVsExpansionEnumeration)

Retrieves a list of code snippets for the specified coding language. See EnumerateExpansions(Guid, Int32, String[], Int32, Int32, Int32, IVsExpansionEnumeration).

GetExpansionByShortcut(IVsExpansionClient, Guid, String, IVsTextView, TextSpan[], Int32, String, String) GetExpansionByShortcut(IVsExpansionClient, Guid, String, IVsTextView, TextSpan[], Int32, String, String) GetExpansionByShortcut(IVsExpansionClient, Guid, String, IVsTextView, TextSpan[], Int32, String, String) GetExpansionByShortcut(IVsExpansionClient, Guid, String, IVsTextView, TextSpan[], Int32, String, String) GetExpansionByShortcut(IVsExpansionClient, Guid, String, IVsTextView, TextSpan[], Int32, String, String)

Retrieves the title and path to a snippet given its shortcut name. See GetExpansionByShortcut(IVsExpansionClient, Guid, String, IVsTextView, TextSpan[], Int32, String, String).

GetSnippetShortCutKeybindingState(Int32) GetSnippetShortCutKeybindingState(Int32) GetSnippetShortCutKeybindingState(Int32) GetSnippetShortCutKeybindingState(Int32) GetSnippetShortCutKeybindingState(Int32)

Determines if a key has been bound to the "Invoke Snippet From Shortcut" command. See GetSnippetShortCutKeybindingState(Int32).

GetTokenPath(UInt32, String) GetTokenPath(UInt32, String) GetTokenPath(UInt32, String) GetTokenPath(UInt32, String) GetTokenPath(UInt32, String)

Returns the path to the specified location. See GetTokenPath(UInt32, String).

InvokeInsertionUI(IVsTextView, IVsExpansionClient, Guid, String[], Int32, Int32, String[], Int32, Int32, String, String) InvokeInsertionUI(IVsTextView, IVsExpansionClient, Guid, String[], Int32, Int32, String[], Int32, Int32, String, String) InvokeInsertionUI(IVsTextView, IVsExpansionClient, Guid, String[], Int32, Int32, String[], Int32, Int32, String, String) InvokeInsertionUI(IVsTextView, IVsExpansionClient, Guid, String[], Int32, Int32, String[], Int32, Int32, String, String) InvokeInsertionUI(IVsTextView, IVsExpansionClient, Guid, String[], Int32, Int32, String[], Int32, Int32, String, String)

Shows an IntelliSense list of code snippets that can be inserted into the source through the provided IVsExpansionClient object. See InvokeInsertionUI(IVsTextView, IVsExpansionClient, Guid, String[], Int32, Int32, String[], Int32, Int32, String, String).

Extension Methods

FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)
IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

Applies to