SetTextRange Method (XObject, TextRange)
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 Sub SetTextRange ( _
attribute As XObject, _
textRange As TextRange _
)
'Usage
Dim attribute As XObject
Dim textRange As TextRange
attribute.SetTextRange(textRange)
public static void SetTextRange(
this XObject attribute,
TextRange textRange
)
[ExtensionAttribute]
public:
static void SetTextRange(
XObject^ attribute,
TextRange^ textRange
)
static member SetTextRange :
attribute:XObject *
textRange:TextRange -> unit
public static function SetTextRange(
attribute : XObject,
textRange : TextRange
)
Parameters
- attribute
Type: System.Xml.Linq..::..XObject
- textRange
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).