ModelingDocData.GetTextBuffer Method
Loads the serialized model into a new buffer.
Namespace: Microsoft.VisualStudio.Modeling.Shell
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Shell.10.0.dll)
Syntax
‘선언
Public Overridable Function GetTextBuffer ( _
<OutAttribute> ByRef ppTextBuffer As IVsTextLines _
) As Integer
public virtual int GetTextBuffer(
out IVsTextLines ppTextBuffer
)
public:
virtual int GetTextBuffer(
[OutAttribute] IVsTextLines^% ppTextBuffer
)
abstract GetTextBuffer :
ppTextBuffer:IVsTextLines byref -> int
override GetTextBuffer :
ppTextBuffer:IVsTextLines byref -> int
public function GetTextBuffer(
ppTextBuffer : IVsTextLines
) : int
Parameters
- ppTextBuffer
Type: Microsoft.VisualStudio.TextManager.Interop.IVsTextLines%
Newly created buffer loaded with the serialized model file (in XML string form).
Return Value
Type: System.Int32
Implements
IVsTextBufferProvider.GetTextBuffer(IVsTextLines%)
.NET Framework Security
- 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.