Freigeben über


CompoundActionFactory.GetCompoundAction(IVsTextView, Source, String) Method

Definition

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.

src
Source

A Source object representing a source file.

description
String

A string value describing the CompoundAction.

Returns

A CompoundAction object.

Attributes

Remarks

Either view or src is expected to be non-null.

Applies to