Share via


DocDataTextReader.Read Method (array<Char , Int32, Int32)

Sets the text of the specified buffer at the specified position.

Namespace:  Microsoft.VisualStudio.Shell.Design.Serialization
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

Syntax

'Declaration
Public Overrides Function Read ( _
    buffer As Char(), _
    index As Integer, _
    count As Integer _
) As Integer
public override int Read(
    char[] buffer,
    int index,
    int count
)
public:
virtual int Read(
    array<wchar_t>^ buffer, 
    int index, 
    int count
) override
abstract Read : 
        buffer:char[] * 
        index:int * 
        count:int -> int  
override Read : 
        buffer:char[] * 
        index:int * 
        count:int -> int
public override function Read(
    buffer : char[], 
    index : int, 
    count : int
) : int

Parameters

  • buffer
    Type: array<System.Char[]

    A character array to be populated.

  • index
    Type: System.Int32

    The starting point in the underlying text.

  • count
    Type: System.Int32

    The number of items in the underlying text to be copied.

Return Value

Type: System.Int32
The number of characters actually read.

.NET Framework Security

See Also

Reference

DocDataTextReader Class

Read Overload

Microsoft.VisualStudio.Shell.Design.Serialization Namespace