Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

VsExpansion Structure

Provides information about a code snippet.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

public value class VsExpansion

The VsExpansion type exposes the following members.

Public methodEqualsIndicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from ValueType.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns the fully qualified type name of this instance. (Inherited from ValueType.)

Public fielddescriptionProvides the description for the code snippet.
Public fieldpathProvides the path to the code snippet.
Public fieldshortcutProvides the shortcut name for the code snippet.
Public fieldtitleProvides the full title of the code snippet.

COM Signature

typedef struct _VsExpansion {
   BSTR  path;
   BSTR  title;
   BSTR  shortcut;
   BSTR  description;
} VsExpansion;

This structure is returned from the IVsExpansionEnumeration interface.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
© 2015 Microsoft