Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates a CompoundAction object based on a view or specified source.
This API is not CLS-compliant. The CLS-compliant alternative is .
Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Syntax
'Declaration
<CLSCompliantAttribute(False)> _
Public Shared Function GetCompoundAction ( _
    view As IVsTextView, _
    src As Source, _
    description As String _
) As CompoundActionBase
[CLSCompliantAttribute(false)]
public static CompoundActionBase GetCompoundAction(
    IVsTextView view,
    Source src,
    string description
)
[CLSCompliantAttribute(false)]
public:
static CompoundActionBase^ GetCompoundAction(
    IVsTextView^ view, 
    Source^ src, 
    String^ description
)
[<CLSCompliantAttribute(false)>]
static member GetCompoundAction : 
        view:IVsTextView * 
        src:Source * 
        description:string -> CompoundActionBase 
public static function GetCompoundAction(
    view : IVsTextView, 
    src : Source, 
    description : String
) : CompoundActionBase
Parameters
- view
 Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextView
 A IVsTextView representation of the view.
- src
 Type: Microsoft.VisualStudio.Package.Source
 A Source object representing a source file.
- description
 Type: System.String
 A string value describing the CompoundAction.
Return Value
Type: Microsoft.VisualStudio.Package.CompoundActionBase
A CompoundAction object.
Remarks
Either view or src is expected to be non-nulla null reference (Nothing in Visual Basic).
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.