Share via


VSConstants.VsTextBufferUserDataGuid.UserReadOnlyErrorString_guid 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.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Shared ReadOnly UserReadOnlyErrorString_guid As Guid
public static readonly Guid UserReadOnlyErrorString_guid
public:
static initonly Guid UserReadOnlyErrorString_guid
static val UserReadOnlyErrorString_guid: Guid
public static final var UserReadOnlyErrorString_guid : Guid

.NET Framework Security

See Also

Reference

VSConstants.VsTextBufferUserDataGuid Class

Microsoft.VisualStudio Namespace