Delen via


ISourceReader Interface

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Used to read at a specified location in a source file.

Namespace:  Microsoft.Windows.Design.SourceUpdate
Assembly:  Microsoft.Windows.Design.Markup (in Microsoft.Windows.Design.Markup.dll)

Syntax

'Declaration
Public Interface ISourceReader
'Usage
Dim instance As ISourceReader
public interface ISourceReader
public interface class ISourceReader
public interface ISourceReader

Remarks

This interface assumes the file contains text and uses character positions in the file as defined by the file encoding.

The interpretation of a character MUST result in one char value, such that reading N characters from a source file results in a string N characters long. In other words, the Read(L, N) method must return a string with length == N. If location + length exceeds the length of the file, Read will return the number of characters left in the file.

See Also

Reference

ISourceReader Members

Microsoft.Windows.Design.SourceUpdate Namespace

Other Resources

WPF Designer Extensibility