Udostępnij za pośrednictwem


Konstruktor CompoundAction —

Inicjuje nowe wystąpienie CompoundAction klasy.

Przestrzeń nazw:  Microsoft.VisualStudio.Package
Zestawy:   Microsoft.VisualStudio.Package.LanguageService.9.0 (w Microsoft.VisualStudio.Package.LanguageService.9.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (w Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (w Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService (w Microsoft.VisualStudio.Package.LanguageService.dll)

Składnia

'Deklaracja
Public Sub New ( _
    src As Source, _
    description As String _
)
public CompoundAction(
    Source src,
    string description
)

Parametry

  • description
    Typ: System.String
    [w] Ciąg zawierający opis działania Cofnij etykietę.

Uwagi

Bufory konstruktora Source obiektu, uzyskuje IVsTextLines obiektu poprzez wywołanie GetTextLines metody na Source obiektu, uzyskuje IVsCompoundAction interfejsu z IVsTextLines obiektu, wzywa OpenCompoundAction metody na IVsCompoundAction interfejs i wreszcie zawiesza colorizer przez wywołanie Suspend metody na Colorizer obiekt otrzymany przez wywołanie GetColorizer metody na Source obiektu.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

CompoundAction Klasa

Przestrzeń nazw Microsoft.VisualStudio.Package