Ανάγνωση στα Αγγλικά

Κοινή χρήση μέσω


VsSyntheticTextLayerClass Class

Definition

Handles the addition of and communication with synthetic text sessions.

C++/WinRT
[Windows::Foundation::Metadata::WebHostHidden]
class VsSyntheticTextLayerClass : Microsoft::VisualStudio::TextManager::Interop::VsSyntheticTextLayer
Inheritance
VsSyntheticTextLayerClass
Attributes
Implements

Remarks

You cannot create an instance of this class with the new keyword. Instead, you must get the ILocalRegistry object and create the object with CreateInstance. The MPF wraps this method with CreateInstance.

Constructors

VsSyntheticTextLayerClass()

Creates a new instance of the class.

Methods

AddSyntheticRegions(UInt32, Int32, NewSyntheticRegion[], IVsEnumSyntheticRegions[])

Adds synthetic text sessions.

EnumSyntheticRegions(UInt32, UInt32, TextSpan[], IVsEnumSyntheticRegions)

Returns a static snapshot list of synthetic regions.

Terminate()

Tells the session to sever its link (and drop its COM reference) to the client.

UnadviseClient()

Tells the session to sever its link, and drop its COM reference, to the client.

Applies to

Προϊόν Εκδόσεις
Visual Studio SDK 2015, 2017, 2019, 2022