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

‘선언
Public Overrides Function Read ( _
    buffer As Char(), _
    index As Integer, _
    count As Integer _
) As Integer
‘사용 방법
Dim instance As DocDataTextReader
Dim buffer As Char()
Dim index As Integer
Dim count As Integer
Dim returnValue As Integer

returnValue = instance.Read(buffer, index, _
    count)
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

DocDataTextReader Members

Read Overload

Microsoft.VisualStudio.Shell.Design.Serialization Namespace