The text buffer contained within the doc data.
Namespace: Microsoft.VisualStudio.Shell.Design.Serialization
Assembly: Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)
Syntax
'宣言
Public ReadOnly Property Buffer As IVsTextBuffer
'使用
Dim instance As DocData
Dim value As IVsTextBuffer
value = instance.Buffer
public IVsTextBuffer Buffer { get; }
public:
property IVsTextBuffer^ Buffer {
IVsTextBuffer^ get ();
}
public function get Buffer () : IVsTextBuffer
Property Value
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextBuffer
The text buffer if one exists, otherwise a null reference (Nothing in Visual Basic).
Remarks
This may point to the doc data object directly, or it may be an inner object that is exposed through IVsTextBufferProvider.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.