This topic has not yet been rated - Rate this topic

VsSyntheticTextLayerClass Class

Handles the addition of and communication with synthetic text sessions.

Object
  Microsoft.VisualStudio.TextManager.Interop.VsSyntheticTextLayerClass

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)
[GuidAttribute("42469677-FCFF-11D2-AFC4-00105A9991EF")]
[ClassInterfaceAttribute()]
public class VsSyntheticTextLayerClass : IVsSyntheticTextSession, 
	VsSyntheticTextLayer

The VsSyntheticTextLayerClass type exposes the following members.

  NameDescription
Public methodVsSyntheticTextLayerClassCreates a new instance of the class.
Top
  NameDescription
Public methodAddSyntheticRegionsAdds synthetic text sessions.
Public methodEnumSyntheticRegionsReturns a static snapshot list of synthetic regions.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodTerminateTells the session to sever its link (and drop its COM reference) to the client.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodUnadviseClientTells the session to sever its link, and drop its COM reference, to the client.
Top

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.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.