CompoundActionFactory.GetCompoundAction(IVsTextView, Source, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
Creates a CompoundAction object based on a view or specified source.
public:
static Microsoft::VisualStudio::Package::CompoundActionBase ^ GetCompoundAction(Microsoft::VisualStudio::TextManager::Interop::IVsTextView ^ view, Microsoft::VisualStudio::Package::Source ^ src, System::String ^ description);
[System.CLSCompliant(false)]
public static Microsoft.VisualStudio.Package.CompoundActionBase GetCompoundAction (Microsoft.VisualStudio.TextManager.Interop.IVsTextView view, Microsoft.VisualStudio.Package.Source src, string description);
public static Microsoft.VisualStudio.Package.CompoundActionBase GetCompoundAction (Microsoft.VisualStudio.TextManager.Interop.IVsTextView view, Microsoft.VisualStudio.Package.Source src, string description);
[<System.CLSCompliant(false)>]
static member GetCompoundAction : Microsoft.VisualStudio.TextManager.Interop.IVsTextView * Microsoft.VisualStudio.Package.Source * string -> Microsoft.VisualStudio.Package.CompoundActionBase
static member GetCompoundAction : Microsoft.VisualStudio.TextManager.Interop.IVsTextView * Microsoft.VisualStudio.Package.Source * string -> Microsoft.VisualStudio.Package.CompoundActionBase
Public Shared Function GetCompoundAction (view As IVsTextView, src As Source, description As String) As CompoundActionBase
Parameters
- view
- IVsTextView
A IVsTextView representation of the view.
- description
- String
A string value describing the CompoundAction.
Returns
A CompoundAction object.
- Attributes
Remarks
Either view
or src
is expected to be non-null
.