共用方式為


IVsSyntheticRegion Interface

Provides methods for management for a synthetic region.

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

Syntax

'宣告
<GuidAttribute("B9C97AB2-2A37-4134-93E9-C3014F364AA8")> _
<InterfaceTypeAttribute()> _
Public Interface IVsSyntheticRegion
[GuidAttribute("B9C97AB2-2A37-4134-93E9-C3014F364AA8")]
[InterfaceTypeAttribute()]
public interface IVsSyntheticRegion
[GuidAttribute(L"B9C97AB2-2A37-4134-93E9-C3014F364AA8")]
[InterfaceTypeAttribute()]
public interface class IVsSyntheticRegion
[<GuidAttribute("B9C97AB2-2A37-4134-93E9-C3014F364AA8")>]
[<InterfaceTypeAttribute()>]
type IVsSyntheticRegion =  interface end
public interface IVsSyntheticRegion

The IVsSyntheticRegion type exposes the following members.

Methods

  Name Description
Public method GetBaseBufferAnchor Gets the base buffer anchor of the region.
Public method GetBehavior Gets the behavior of the region.
Public method GetClientData Gets the client data for the region.
Public method GetMarkerType Gets the marker type for the region.
Public method GetSyntheticLayerSpan Gets the owning layer span for the region.
Public method GetText Gets the text associated with the region.
Public method GetTextImage Gets the text image of the region.
Public method GetTextLayer Gets the associated layer.
Public method Invalidate Handles deletion management, causing the region to go away and the text to become exposed and normal.
Public method IsValid Determines whether the region is currently valid.
Public method SetBaseBufferAnchor Sets the base buffer anchor of the region.
Public method SetClientData Sets the client data for the region.
Public method SetText Sets the text of the region.

Top

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace