次の方法で共有


CompoundActionFactory.GetCompoundAction Method

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.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)

Syntax

'宣言
<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
)

Parameters

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

See Also

Reference

CompoundActionFactory Class

Microsoft.VisualStudio.Package Namespace