Share via


DocData.Buffer Property

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

'Declaration
Public ReadOnly Property Buffer As IVsTextBuffer
'Usage
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 nulla 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.

.NET Framework Security

See Also

Reference

DocData Class

DocData Members

Microsoft.VisualStudio.Shell.Design.Serialization Namespace