Partager 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

'Déclaration
Public ReadOnly Property Buffer As IVsTextBuffer
    Get
'Utilisation
Dim instance As DocData
Dim value As IVsTextBuffer

value = instance.Buffer
public IVsTextBuffer Buffer { get; }
public:
property IVsTextBuffer^ Buffer {
    IVsTextBuffer^ get ();
}
member Buffer : IVsTextBuffer
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