次の方法で共有


VsSyntheticTextLayerClass Class

Handles the addition of and communication with synthetic text sessions.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'宣言
<GuidAttribute("42469677-FCFF-11D2-AFC4-00105A9991EF")> _
<ClassInterfaceAttribute()> _
Public Class VsSyntheticTextLayerClass _
    Implements IVsSyntheticTextSession, VsSyntheticTextLayer
'使用
Dim instance As VsSyntheticTextLayerClass
[GuidAttribute("42469677-FCFF-11D2-AFC4-00105A9991EF")]
[ClassInterfaceAttribute()]
public class VsSyntheticTextLayerClass : IVsSyntheticTextSession, 
    VsSyntheticTextLayer
[GuidAttribute(L"42469677-FCFF-11D2-AFC4-00105A9991EF")]
[ClassInterfaceAttribute()]
public ref class VsSyntheticTextLayerClass : IVsSyntheticTextSession, 
    VsSyntheticTextLayer
[<GuidAttribute("42469677-FCFF-11D2-AFC4-00105A9991EF")>]
[<ClassInterfaceAttribute()>]
type VsSyntheticTextLayerClass =  
    class
        interface IVsSyntheticTextSession
        interface VsSyntheticTextLayer
    end
public class VsSyntheticTextLayerClass implements IVsSyntheticTextSession, VsSyntheticTextLayer

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.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.TextManager.Interop.VsSyntheticTextLayerClass

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

VsSyntheticTextLayerClass Members

Microsoft.VisualStudio.TextManager.Interop Namespace