In This Article

XmlContextFactory Class

Creates IXmlContext objects for a TextSnapshotOffset.

public class XmlContextFactory
Inheritance:
object object

Constructors

XmlContextFactory()

Initializes an instance of the class.

public XmlContextFactory()

Methods

CreateContext(TextSnapshotOffset)

Creates an IXmlContext for the specified TextSnapshotOffset.

public IXmlContext CreateContext(TextSnapshotOffset snapshotOffset)
Parameter Type Description
snapshotOffset TextSnapshotOffset

The TextSnapshotOffset for which to create a context.

Returns

IXmlContext:

The IXmlContext that was created.

Inherited Members