共用方式為


IVsSyntheticRegion Interface

Definition

Provides methods for management for a synthetic region.

public interface class IVsSyntheticRegion
public interface class IVsSyntheticRegion
__interface IVsSyntheticRegion
[System.Runtime.InteropServices.Guid("B9C97AB2-2A37-4134-93E9-C3014F364AA8")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsSyntheticRegion
[System.Runtime.InteropServices.Guid("B9C97AB2-2A37-4134-93E9-C3014F364AA8")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsSyntheticRegion
[<System.Runtime.InteropServices.Guid("B9C97AB2-2A37-4134-93E9-C3014F364AA8")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsSyntheticRegion = interface
[<System.Runtime.InteropServices.Guid("B9C97AB2-2A37-4134-93E9-C3014F364AA8")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsSyntheticRegion = interface
Public Interface IVsSyntheticRegion
Attributes

Methods

GetBaseBufferAnchor(Int32, Int32)

Gets the base buffer anchor of the region.

GetBehavior(UInt32)

Gets the behavior of the region.

GetClientData(IntPtr)
GetClientData(UInt32)

Gets the client data for the region.

GetMarkerType(Int32)

Gets the marker type for the region.

GetSyntheticLayerSpan(TextSpan[])

Gets the owning layer span for the region.

GetText(String)

Gets the text associated with the region.

GetTextImage(IVsTextImage)

Gets the text image of the region.

GetTextLayer(IVsTextLayer)

Gets the associated layer.

Invalidate(UInt32)

Handles deletion management, causing the region to go away and the text to become exposed and normal.

IsValid(Int32)

Determines whether the region is currently valid.

SetBaseBufferAnchor(Int32, Int32)

Sets the base buffer anchor of the region.

SetClientData(IntPtr)
SetClientData(UInt32)

Sets the client data for the region.

SetText(String)

Sets the text of the region.

Applies to