Share via


VSConstants.VsTextBufferUserDataGuid.UserReadOnlyErrorString_string Field

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.

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

Syntax

'Declaration
Public Const UserReadOnlyErrorString_string As String
public const string UserReadOnlyErrorString_string
public:
literal String^ UserReadOnlyErrorString_string
static val mutable UserReadOnlyErrorString_string: string
public const var UserReadOnlyErrorString_string : String

.NET Framework Security

See Also

Reference

VSConstants.VsTextBufferUserDataGuid Class

Microsoft.VisualStudio Namespace