VSConstants::VsTextBufferUserDataGuid Fields

 

Namespace:   Microsoft.VisualStudio
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

NameDescription
System_CAPS_pubfieldSystem_CAPS_staticBufferStorage_guid

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

System_CAPS_pubfieldSystem_CAPS_staticBufferStorage_string

Used to get access to the buffer's storage object. You can call QueryInterface on the returned pointer can be for IVsTextStorage and IVsPersistentTextImage. This is a read-only property. To set the storage, use the InitializeContentEx method.

System_CAPS_pubfieldSystem_CAPS_staticPropertyBrowserSID_guid

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

System_CAPS_pubfieldSystem_CAPS_staticPropertyBrowserSID_string

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

System_CAPS_pubfieldSystem_CAPS_staticUserReadOnlyErrorString_guid

Provides a specific error message 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 SetErrorInfo. The caller can decide whether to show the message to the user.

System_CAPS_pubfieldSystem_CAPS_staticUserReadOnlyErrorString_string

Provides a specific error message 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 SetErrorInfo. The caller can decide whether to show the message to the user.

System_CAPS_pubfieldSystem_CAPS_staticVsBufferContentType_guid

The IContentType of the text buffer.

System_CAPS_pubfieldSystem_CAPS_staticVsBufferContentType_string

The IContentType of the text buffer.

System_CAPS_pubfieldSystem_CAPS_staticVsBufferDetectCharSet_guid

bool: If true and the current BufferEncoding is CHARFMT_MBCS, the buffer runs its 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.

System_CAPS_pubfieldSystem_CAPS_staticVsBufferDetectCharSet_string

bool: If true and the current BufferEncoding is CHARFMT_MBCS, the buffer will runs its 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.

System_CAPS_pubfieldSystem_CAPS_staticVsBufferDetectLangSID_guid

If true, then a change to the buffer's moniker causes the buffer to change the language service based on the file extension of the moniker. The default is true.

System_CAPS_pubfieldSystem_CAPS_staticVsBufferDetectLangSID_string

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. The default is true.

System_CAPS_pubfieldSystem_CAPS_staticVsBufferEncodingPromptOnLoad_guid

This should be used only by editor factories that want to specify a codepage on loading from the Open With dialog. You can use this data only to set the value, not to get the value after you have set it.

System_CAPS_pubfieldSystem_CAPS_staticVsBufferEncodingPromptOnLoad_string

This should be used only by editor factories that want to specify a codepage on loading from the Open With dialog. You can use this data only to set the value, not to get the value after you have set it.

System_CAPS_pubfieldSystem_CAPS_staticVsBufferEncodingVSTFF_guid

System_CAPS_pubfieldSystem_CAPS_staticVsBufferEncodingVSTFF_string

System_CAPS_pubfieldSystem_CAPS_staticVsBufferExtraFiles_guid

Use this property if the file opened in the buffer is associated with a list of extra files under source code control. Set this property with an implementation of IVsBufferExtraFiles in order to control how the buffer handles source code control operations. The IVsBufferExtraFiles object set determines which files are checked out from source code control when edits are made to the buffer. This property controls the behavior of AttemptToCheckOutBufferFromScc3 and GetBufferSccStatus3. It also determines which files are passed by the buffer when it calls IVsQueryEditQuerySave2 methods.

System_CAPS_pubfieldSystem_CAPS_staticVsBufferExtraFiles_string

Use this property if the file opened in the buffer is associated with a list of extra files under source code control. Set this property with an implementation of IVsBufferExtraFiles in order to control how the buffer handles source code control operations. The IVsBufferExtraFiles object set determines which files are checked out from source code control when edits are made to the buffer. This property controls the behavior of AttemptToCheckOutBufferFromScc3 and GetBufferSccStatus3. It also determines which files are passed by the buffer when it calls IVsQueryEditQuerySave2 methods.

System_CAPS_pubfieldSystem_CAPS_staticVsBufferFileReload_guid

bool:

System_CAPS_pubfieldSystem_CAPS_staticVsBufferFileReload_string

bool:

System_CAPS_pubfieldSystem_CAPS_staticVsBufferIsDiskFile_guid

true if the buffer is a file on disk.

System_CAPS_pubfieldSystem_CAPS_staticVsBufferIsDiskFile_string

true if the buffer is a file on disk

System_CAPS_pubfieldSystem_CAPS_staticVsBufferMoniker_guid

The moniker of the document loaded in the text buffer. It is the full path of the file if the document is a file.

System_CAPS_pubfieldSystem_CAPS_staticVsBufferMoniker_string

The moniker of the document loaded in the text buffer. It is the full path of the file if the document is a file.

System_CAPS_pubfieldSystem_CAPS_staticVsInitEncodingDialogFromUserData_guid

bool:

System_CAPS_pubfieldSystem_CAPS_staticVsInitEncodingDialogFromUserData_string

bool:

System_CAPS_pubfieldSystem_CAPS_staticVsTextViewRoles_guid

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

System_CAPS_pubfieldSystem_CAPS_staticVsTextViewRoles_string

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

Return to top
Show: