Share via


XmlModel.GetTextSpan Method (XObject)

 

Gets the TextSpan object that represents the location of the specified node in the buffer.

Namespace:   Microsoft.VisualStudio.XmlEditor
Assembly:  Microsoft.VisualStudio.XmlEditor (in Microsoft.VisualStudio.XmlEditor.dll)

Syntax

public abstract TextSpan GetTextSpan(
    XObject node
)
public:
virtual TextSpan GetTextSpan(
    XObject^ node
) abstract
abstract GetTextSpan : 
        node:XObject -> TextSpan
Public MustOverride Function GetTextSpan (
    node As XObject
) As TextSpan

Parameters

Return Value

Type: Microsoft.VisualStudio.TextManager.Interop.TextSpan

The TextSpan object that represents the location of the specified node in the buffer.

See Also

XmlModel Class
Microsoft.VisualStudio.XmlEditor Namespace

Return to top