共用方式為


VsTextPackageClass Members

Include Protected Members
Include Inherited Members

Provides general services for anyone wanting information about the active text views.

The VsTextPackageClass type exposes the following members.

Constructors

  Name Description
Public method VsTextPackageClass

Top

Methods

  Name Description
Public method AdjustFileChangeIgnoreCount Increases or decreases the ignore count for file changes.
Public method AttemptToCheckOutBufferFromScc Method information not provided.
Public method AttemptToCheckOutBufferFromScc2 Attempts to check out a file from source code control.
Public method CreateSelectionAction Method information not provided.
Public method EnumBuffers Enumerates text buffers. Not yet implemented.
Public method EnumIndependentViews Enumerates independent view.
Public method EnumLanguageServices Enumerates the registered language service ids.
Public method EnumViews Enumerates views that are provided with the core editor and are associated with a particular text buffer.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Public method GetActiveView Returns the active or previously active view.
Public method GetBufferSccStatus Method information not provided.
Public method GetBufferSccStatus2 Returns information on whether a buffer is under source code control and, if so, whether the file is checked in.
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetMarkerTypeCount Returns the number of registered marker types within all buffers associated with the core text editor.
Public method GetMarkerTypeInterface Maps a numeric marker type ID to an interface that can be used to probe for specific information.
Public method GetPerLanguagePreferences Method information not provided.
Public method GetRegisteredMarkerTypeID Returns a registered marker type.
Public method GetShortcutManager Returns the shortcut manager.
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method GetUserPreferences Returns the user preferences, such as tab usage, indent size and widget margin presence for the view, frame, and language service.
Public method IgnoreNextFileChange [in] Pointer to the IVsTextBuffer interface.
Public method MapFilenameToLanguageSID Given a file name, determines the registered language service, if one exists, that understands it.
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method NavigateToLineAndColumn Finds or creates an appropriate view on the specified buffer and places the selection at the specified location.
Public method NavigateToPosition Finds or creates an appropriate view on the specified buffer and puts the selection on the specified linear position.
Public method RegisterBuffer Registers a text buffer with the text manager.
Public method RegisterIndependentView Registers a view from a source other than the core editor.
Public method RegisterView Method information not provided.
Public method SetFileChangeAdvise Method information not provided.
Public method SetPerLanguagePreferences Method information not provided.
Public method SetUserPreferences Sets user preferences.
Public method SuspendFileChangeAdvise Suspends file change notifications for a given file.
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)
Public method UnregisterBuffer Unregisters a buffer.
Public method UnregisterIndependentView Unregisters an externally-created view.
Public method UnregisterView Method information not provided.

Top

See Also

Reference

VsTextPackageClass Class

Microsoft.VisualStudio.TextManager.Interop Namespace