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
'Déclaration
Public Overrides Function Read ( _
buffer As Char(), _
index As Integer, _
count As Integer _
) As Integer
'Utilisation
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
- 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.