共用方式為


SVsTextManager Interface

Definition

Passed to GetService(Type) to return a reference to IVsTextManager and IVsHiddenTextManager.

public interface class SVsTextManager
public interface class SVsTextManager
__interface SVsTextManager
[System.Runtime.InteropServices.Guid("F5E7E71D-1401-11d1-883B-0000F87579D2")]
public interface SVsTextManager
[System.Runtime.InteropServices.Guid("F5E7E71D-1401-11d1-883B-0000F87579D2")]
[System.Runtime.InteropServices.ComVisible(false)]
public interface SVsTextManager
[<System.Runtime.InteropServices.Guid("F5E7E71D-1401-11d1-883B-0000F87579D2")>]
type SVsTextManager = interface
[<System.Runtime.InteropServices.Guid("F5E7E71D-1401-11d1-883B-0000F87579D2")>]
[<System.Runtime.InteropServices.ComVisible(false)>]
type SVsTextManager = interface
Public Interface SVsTextManager
Attributes

Remarks

Every VSPackage that needs to allow a user to read or edit text. Text streams do not necessarily have to correspond with files. Typically a text document frame is created through Microsoft.VisualStudio.Shell.Interop.IVsUIShellOpenDocument.OpenStandardEditor when the standard text editor is the best editor match

Applies to