共用方式為


IVsFullTextScanner Interface

Definition

Exposed by text buffers and used by compilers and other components that need immediate access to the entire buffer. Special-purpose interface exposed by text buffers and used by compilers and other components that need immediate access to the entire buffer.

public interface class IVsFullTextScanner
public interface class IVsFullTextScanner
__interface IVsFullTextScanner
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("BE93F7B1-F2FD-45B4-938D-1C66441CD421")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsFullTextScanner
[System.Runtime.InteropServices.ComConversionLoss]
[System.Runtime.InteropServices.Guid("BE93F7B1-F2FD-45B4-938D-1C66441CD421")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsFullTextScanner
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("BE93F7B1-F2FD-45B4-938D-1C66441CD421")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsFullTextScanner = interface
[<System.Runtime.InteropServices.ComConversionLoss>]
[<System.Runtime.InteropServices.Guid("BE93F7B1-F2FD-45B4-938D-1C66441CD421")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsFullTextScanner = interface
Public Interface IVsFullTextScanner
Attributes

Remarks

A difference between this method and IVsTextScanner is that it cannot return a portion of the buffer; it will return all or nothing. In addition, it differs from IVsTextScanner where multiple clients may have IVsFullTextScanner sessions in progress, whereas IVsTextScanner fails with multiple sessions.

Notes to Callers

Call to obtain immediate access to the entire text buffer.

Methods

CloseFullTextScan()

Closes the buffer for scanning.

FullTextRead(String, Int32)

Performs the actual scan.

OpenFullTextScan()

Opens the buffer for scanning.

Applies to