次の方法で共有


ExpansionProvider.ExpansionSession Property

Definition

Returns the expansion session created to manage editing the code snippet.

public:
 property Microsoft::VisualStudio::TextManager::Interop::IVsExpansionSession ^ ExpansionSession { Microsoft::VisualStudio::TextManager::Interop::IVsExpansionSession ^ get(); };
public:
 property Microsoft::VisualStudio::TextManager::Interop::IVsExpansionSession ^ ExpansionSession { Microsoft::VisualStudio::TextManager::Interop::IVsExpansionSession ^ get(); };
public Microsoft.VisualStudio.TextManager.Interop.IVsExpansionSession ExpansionSession { get; }
member this.ExpansionSession : Microsoft.VisualStudio.TextManager.Interop.IVsExpansionSession
Public ReadOnly Property ExpansionSession As IVsExpansionSession

Property Value

Returns the IVsExpansionSession object that was passed to the OnBeforeInsertion(IVsExpansionSession) method.

Remarks

The IVsExpansionSession object is created by Visual Studio and passed to the expansion provider through the OnBeforeInsertion method.

Applies to