Dela via


ISourceChanger Interface

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

An interface that uses a copy model to modify the source.

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

Syntax

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

Remarks

ISourceChanger can be interpreted as copying the source from one buffer to another, making changes along the way. All locations are in the original offsets, ignoring the inserted and skipped text.

Offsets are as they appear in an ISourceReader. The location parameter must increase with calls to the CopyTo and MoveTo methods.

Once the Done method is called, all subsequent calls to ISourceChanger are invalid.

See Also

Reference

ISourceChanger Members

Microsoft.Windows.Design.SourceUpdate Namespace

Other Resources

WPF Designer Extensibility