共用方式為


VsTextImage Members

Include Protected Members
Include Inherited Members

Represents the image that is persisted and unpersisted. Represents the range of text that is viewable and editable by text editor views.

The VsTextImage type exposes the following members.

Methods

  Name Description
Public method AdviseTextImageEvents Registers the environment to receive notification of text image changes. (Inherited from IVsTextImage.)
Public method GetCharSize Returns the number of characters in the text image. (Inherited from IVsTextImage.)
Public method GetLine Provides direct, line-oriented access to the text buffer. (Inherited from IVsTextImage.)
Public method GetLineLength Return the length of a line. (Inherited from IVsTextImage.)
Public method GetLineSize Returns the number of lines in the text image. (Inherited from IVsTextImage.)
Public method GetOffsetOfTextAddress Return the buffer address of a given text address. (Inherited from IVsTextImage.)
Public method GetSpanLength Return the number of characters in a text span. (Inherited from IVsTextImage.)
Public method GetText Return the text of a text span. (Inherited from IVsTextImage.)
Public method GetTextAddressOfOffset Return the text address of a given buffer address. (Inherited from IVsTextImage.)
Public method GetTextBSTR Return the text of a text span as a BSTR (Inherited from IVsTextImage.)
Public method LockImage Notifies that the text image is in use. (Inherited from IVsTextImage.)
Public method ReleaseLine Releases the LINEDATAEX structure. (Inherited from IVsTextImage.)
Public method Replace Notification of a text span replacement. (Inherited from IVsTextImage.)
Public method UnadviseTextImageEvents Cancels the environment's registration to receive notifications of text image changes. (Inherited from IVsTextImage.)
Public method UnlockImage Notifies that the text image is not in use. (Inherited from IVsTextImage.)

Top

See Also

Reference

VsTextImage Interface

Microsoft.VisualStudio.TextManager.Interop Namespace