XmlModel.GetTextSpan Method
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)
Usage
'Usage
Dim instance As XmlModel
Dim node As XObject
Dim returnValue As TextSpan
returnValue = instance.GetTextSpan(node)
Syntax
'Declaration
Public MustOverride Function GetTextSpan ( _
node As XObject _
) As TextSpan
public abstract TextSpan GetTextSpan (
XObject node
)
public:
virtual TextSpan GetTextSpan (
XObject^ node
) abstract
public abstract TextSpan GetTextSpan (
XObject node
)
public abstract function GetTextSpan (
node : XObject
) : TextSpan
Parameters
- node
The node to locate.
Return Value
The TextSpan object that represents the location of the specified node in the buffer.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows XP Home Edition, Windows XP Professional, Windows Server 2003 , Windows Server 2008, and Windows 2000
Target Platforms
See Also
Reference
XmlModel Class
XmlModel Members
Microsoft.VisualStudio.XmlEditor Namespace
Build Date:
2012-11-12