共用方式為


IVsTextStorageColorState Interface

Provides line color state for colorizers.

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

Syntax

'宣告
<InterfaceTypeAttribute()> _
<GuidAttribute("1F027F1F-9696-4816-B345-3CD7D3122A48")> _
Public Interface IVsTextStorageColorState
[InterfaceTypeAttribute()]
[GuidAttribute("1F027F1F-9696-4816-B345-3CD7D3122A48")]
public interface IVsTextStorageColorState
[InterfaceTypeAttribute()]
[GuidAttribute(L"1F027F1F-9696-4816-B345-3CD7D3122A48")]
public interface class IVsTextStorageColorState
[<InterfaceTypeAttribute()>]
[<GuidAttribute("1F027F1F-9696-4816-B345-3CD7D3122A48")>]
type IVsTextStorageColorState =  interface end
public interface IVsTextStorageColorState

The IVsTextStorageColorState type exposes the following members.

Methods

  Name Description
Public method GetColorStateAtStartOfLine Gets the color state at the start of the specified line.

Top

Remarks

IVsTextStorageColorState is optional for storage objects. If your storage object talks to pluggable colorizers, you should implement this interface.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace