Remarque
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de vous connecter ou de modifier des répertoires.
L’accès à cette page nécessite une autorisation. Vous pouvez essayer de modifier des répertoires.
Crée un objet d'CompoundAction selon une vue ou une source spécifiée.
Cette API n'est pas conforme CLS. L'alternative conforme CLS est .
Espace de noms : Microsoft.VisualStudio.Package
Assemblys : Microsoft.VisualStudio.Package.LanguageService.10.0 (dans Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
Microsoft.VisualStudio.Package.LanguageService.9.0 (dans Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
Microsoft.VisualStudio.Package.LanguageService.11.0 (dans Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
Syntaxe
'Déclaration
<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
)
Paramètres
- view
Type : Microsoft.VisualStudio.TextManager.Interop.IVsTextView
Une représentation d'IVsTextView de la vue.
- src
Type : Microsoft.VisualStudio.Package.Source
Un objet d'Source représentant un fichier source.
- description
Type : System.String
Une valeur de chaîne décrivant CompoundAction.
Valeur de retour
Type : Microsoft.VisualStudio.Package.CompoundActionBase
Objet CompoundAction.
Remarques
Est supposé view ou src soit nullRéférence Null (Nothing en Visual Basic) indépendant de l'.
Sécurité .NET Framework
- Confiance totale accordée à l'appelant immédiat. Ce membre ne peut pas être utilisé par du code d'un niveau de confiance partiel. Pour plus d'informations, consultez Utilisation de bibliothèques à partir de code d'un niveau de confiance partiel.