GetTextRange Method (XObject)
Namespace: Microsoft.Data.Tools.XmlDesignerBase.Model
Assemblies: Microsoft.Data.Tools.XmlDesignerBase (in Microsoft.Data.Tools.XmlDesignerBase.dll)
Microsoft.Data.Tools.Design.XmlCore (in Microsoft.Data.Tools.Design.XmlCore.dll)
Syntax
'Declaration
<ExtensionAttribute> _
Public Shared Function GetTextRange ( _
attribute As XObject _
) As TextRange
'Usage
Dim attribute As XObject
Dim returnValue As TextRange
returnValue = attribute.GetTextRange()
public static TextRange GetTextRange(
this XObject attribute
)
[ExtensionAttribute]
public:
static TextRange^ GetTextRange(
XObject^ attribute
)
static member GetTextRange :
attribute:XObject -> TextRange
public static function GetTextRange(
attribute : XObject
) : TextRange
Parameters
- attribute
Type: System.Xml.Linq..::..XObject
Return Value
Type: Microsoft.Data.Tools.XmlDesignerBase.Model..::..TextRange
Usage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type XObject. When you use instance method syntax to call this method, omit the first parameter. For more information, see https://msdn.microsoft.com/en-us/library/bb384936(v=vs.103) or https://msdn.microsoft.com/en-us/library/bb383977(v=vs.103).