VSConstants.VsTextBufferUserDataGuid VSConstants.VsTextBufferUserDataGuid VSConstants.VsTextBufferUserDataGuid VSConstants.VsTextBufferUserDataGuid VSConstants.VsTextBufferUserDataGuid Class

Definition

These are IVsUserData properties that are supported by the TextBuffer (DocData) object of the Source Code (Text) Editor. The IVsUserData interface is retrieved by QueryInterface on the IVsTextLines object of the Text Editor.

public: ref class VSConstants::VsTextBufferUserDataGuid abstract sealed
class VSConstants::VsTextBufferUserDataGuid abstract sealed
public static class VSConstants.VsTextBufferUserDataGuid
type VSConstants.VsTextBufferUserDataGuid = class
Public Class VSConstants.VsTextBufferUserDataGuid
Inheritance
VSConstants.VsTextBufferUserDataGuidVSConstants.VsTextBufferUserDataGuidVSConstants.VsTextBufferUserDataGuidVSConstants.VsTextBufferUserDataGuidVSConstants.VsTextBufferUserDataGuid

Fields

BufferStorage_guid BufferStorage_guid BufferStorage_guid BufferStorage_guid BufferStorage_guid

object: This property is used to get access to the buffer's storage object. The returned pointer can be QI'd for IVsTextStorage and IVsPersistentTextImage.
This is a get-only property. To set the storage, use the buffer's InitializeContentEx method.

BufferStorage_string BufferStorage_string BufferStorage_string BufferStorage_string BufferStorage_string

object: This property is used to get access to the buffer's storage object. The returned pointer can be QI'd for IVsTextStorage and IVsPersistentTextImage.
This is a get-only property. To set the storage, use the buffer's InitializeContentEx method.

PropertyBrowserSID_guid PropertyBrowserSID_guid PropertyBrowserSID_guid PropertyBrowserSID_guid PropertyBrowserSID_guid

string: This property will be used to set the SEID_PropertyBrowserSID element of the selection for text views.
This is only used if you have a custom property browser. If this property is not set, the standard property browser will be associated with the view.

PropertyBrowserSID_string PropertyBrowserSID_string PropertyBrowserSID_string PropertyBrowserSID_string PropertyBrowserSID_string

string: This property will be used to set the SEID_PropertyBrowserSID element of the selection for text views.
This is only used if you have a custom property browser. If this property is not set, the standard property browser will be associated with the view.

UserReadOnlyErrorString_guid UserReadOnlyErrorString_guid UserReadOnlyErrorString_guid UserReadOnlyErrorString_guid UserReadOnlyErrorString_guid

string: This property provides a specific error message for when the buffer originates the BUFFER_E_READONLY error. Set this string to be the (localized) text you want displayed to the user. Note that the buffer itself does not put up UI, but only calls IVsUIShell::SetErrorInfo. The caller can decide whether to show the message to the user.

UserReadOnlyErrorString_string UserReadOnlyErrorString_string UserReadOnlyErrorString_string UserReadOnlyErrorString_string UserReadOnlyErrorString_string

string: This property provides a specific error message for when the buffer originates the BUFFER_E_READONLY error. Set this string to be the (localized) text you want displayed to the user. Note that the buffer itself does not put up UI, but only calls IVsUIShell::SetErrorInfo. The caller can decide whether to show the message to the user.

VsBufferContentType_guid VsBufferContentType_guid VsBufferContentType_guid VsBufferContentType_guid VsBufferContentType_guid

string: The ContentType for the text buffer.

VsBufferContentType_string VsBufferContentType_string VsBufferContentType_string VsBufferContentType_string VsBufferContentType_string

string: The ContentType for the text buffer.

VsBufferDetectCharSet_guid VsBufferDetectCharSet_guid VsBufferDetectCharSet_guid VsBufferDetectCharSet_guid VsBufferDetectCharSet_guid

bool: If true and the current BufferEncoding is CHARFMT_MBCS, the buffer will runs it's HTML charset tag detection code to determine a codepage to load and save the file. The detected codepage overrides any codepage set in CHARFMT_MBCS. This is forced on in the buffer's IPersistFileFormat::LoadDocData when it sees an HTML type of file, according to the extension mapping in "$RootKey$\Languages\File Extensions".

VsBufferDetectCharSet_string VsBufferDetectCharSet_string VsBufferDetectCharSet_string VsBufferDetectCharSet_string VsBufferDetectCharSet_string

bool: If true and the current BufferEncoding is CHARFMT_MBCS, the buffer will runs it's HTML charset tag detection code to determine a codepage to load and save the file. The detected codepage overrides any codepage set in CHARFMT_MBCS. This is forced on in the buffer's IPersistFileFormat::LoadDocData when it sees an HTML type of file, according to the extension mapping in "$RootKey$\Languages\File Extensions".

VsBufferDetectLangSID_guid VsBufferDetectLangSID_guid VsBufferDetectLangSID_guid VsBufferDetectLangSID_guid VsBufferDetectLangSID_guid

bool: (default = true) If true then a change to the buffer's moniker will cause the buffer to change the language service based on the file extension of the moniker.

VsBufferDetectLangSID_string VsBufferDetectLangSID_string VsBufferDetectLangSID_string VsBufferDetectLangSID_string VsBufferDetectLangSID_string

bool: (default = true) If true then a change to the buffer's moniker will cause the buffer to change the language service based on the file extension of the moniker.

VsBufferEncodingPromptOnLoad_guid VsBufferEncodingPromptOnLoad_guid VsBufferEncodingPromptOnLoad_guid VsBufferEncodingPromptOnLoad_guid VsBufferEncodingPromptOnLoad_guid

uint: This should only be used by editor factories that want to specify a codepage on loading from the openwith dialog. This data is only for a set purpose. You cannot get the value of this back.

VsBufferEncodingPromptOnLoad_string VsBufferEncodingPromptOnLoad_string VsBufferEncodingPromptOnLoad_string VsBufferEncodingPromptOnLoad_string VsBufferEncodingPromptOnLoad_string

uint: This should only be used by editor factories that want to specify a codepage on loading from the openwith dialog. This data is only for a set purpose. You cannot get the value of this back.

VsBufferEncodingVSTFF_guid VsBufferEncodingVSTFF_guid VsBufferEncodingVSTFF_guid VsBufferEncodingVSTFF_guid VsBufferEncodingVSTFF_guid
VsBufferEncodingVSTFF_string VsBufferEncodingVSTFF_string VsBufferEncodingVSTFF_string VsBufferEncodingVSTFF_string VsBufferEncodingVSTFF_string
VsBufferExtraFiles_guid VsBufferExtraFiles_guid VsBufferExtraFiles_guid VsBufferExtraFiles_guid VsBufferExtraFiles_guid

object: Use this property if the file opened in the buffer is associated with list of extra files under source code control (SCC). Set this property with an implementation of IVsBufferExtraFiles in order to control how the buffer handles SCC operations. The IVsBufferExtraFiles object set will determine what files are checked out from Source Code Control (SCC) when edits are made to the buffer. This property controls the behavior of IVsTextManager2::AttemptToCheckOutBufferFromScc3 and GetBufferSccStatus3 as well as which files are passed by the buffer when it calls IVsQueryEditQuerySave2 methods.

VsBufferExtraFiles_string VsBufferExtraFiles_string VsBufferExtraFiles_string VsBufferExtraFiles_string VsBufferExtraFiles_string

object: Use this property if the file opened in the buffer is associated with list of extra files under source code control (SCC). Set this property with an implementation of IVsBufferExtraFiles in order to control how the buffer handles SCC operations. The IVsBufferExtraFiles object set will determine what files are checked out from Source Code Control (SCC) when edits are made to the buffer. This property controls the behavior of IVsTextManager2::AttemptToCheckOutBufferFromScc3 and GetBufferSccStatus3 as well as which files are passed by the buffer when it calls IVsQueryEditQuerySave2 methods.

VsBufferFileReload_guid VsBufferFileReload_guid VsBufferFileReload_guid VsBufferFileReload_guid VsBufferFileReload_guid

bool:

VsBufferFileReload_string VsBufferFileReload_string VsBufferFileReload_string VsBufferFileReload_string VsBufferFileReload_string

bool:

VsBufferIsDiskFile_guid VsBufferIsDiskFile_guid VsBufferIsDiskFile_guid VsBufferIsDiskFile_guid VsBufferIsDiskFile_guid

bool: true if buffer is a file on disk

VsBufferIsDiskFile_string VsBufferIsDiskFile_string VsBufferIsDiskFile_string VsBufferIsDiskFile_string VsBufferIsDiskFile_string

bool: true if buffer is a file on disk

VsBufferMoniker_guid VsBufferMoniker_guid VsBufferMoniker_guid VsBufferMoniker_guid VsBufferMoniker_guid

string: Moniker of document loaded in the TextBuffer. It will be the full path of file if the document is a file.

VsBufferMoniker_string VsBufferMoniker_string VsBufferMoniker_string VsBufferMoniker_string VsBufferMoniker_string

string: Moniker of document loaded in the buffer. It will be the full path of file if the document is a file.

VsInitEncodingDialogFromUserData_guid VsInitEncodingDialogFromUserData_guid VsInitEncodingDialogFromUserData_guid VsInitEncodingDialogFromUserData_guid VsInitEncodingDialogFromUserData_guid

bool:

VsInitEncodingDialogFromUserData_string VsInitEncodingDialogFromUserData_string VsInitEncodingDialogFromUserData_string VsInitEncodingDialogFromUserData_string VsInitEncodingDialogFromUserData_string

bool:

VsTextViewRoles_guid VsTextViewRoles_guid VsTextViewRoles_guid VsTextViewRoles_guid VsTextViewRoles_guid

string: The comma-separated list of text view roles for the text view.

VsTextViewRoles_string VsTextViewRoles_string VsTextViewRoles_string VsTextViewRoles_string VsTextViewRoles_string

string: The comma-separated list of text view roles for the text view.

Extension Methods

FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestor<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestor<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>) FindAncestorOrSelf<TElementType>(TElementType, Func<TElementType,TElementType>, Func<TElementType,Boolean>)
FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>) FindAncestorOrSelf<TAncestorType,TElementType>(TElementType, Func<TElementType,TElementType>)
IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>) IsAncestorOf<TElementType>(TElementType, TElementType, Func<TElementType,TElementType>)

Microsoft internal use only.

Applies to