Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Creates and returns a Element object that represents a sub Element within this Element based on the specified start and end offsets.

Signature
C#C#
Wiki Markup
{description}
{excerpt}Creates and returns a [Element|Element] object that represents a sub Element within this Element based on the specified start and end offsets.{excerpt}
{signature:C#}
 public virtual Element SubElement(int start, int end)
Signature
{signature}{signature:vb.net
vb.net
}
Public Overridable Function SubElement(ByVal start As Integer, ByVal [end] As Integer) As Element
Parameters

...

An int representing the starting offset of the sub Element relative to the start of this Element.

...

An int representing the ending offset of the sub Element relative the start of this Element.

Returns

A Element object that represents a sub Element within this Element.

{signature}
{parameters}
{param:start}An {{int}} representing the starting offset of the sub Element relative to the start of this Element.{param}
{param:end}An {{int}} representing the ending offset of the sub Element relative the start of this Element.{param}
{returns}A {{Element}} object that represents a sub Element within this Element.{returns}
{example}{code:csharp|title=C#}
Element subE = e.SubElement();
{code}
{code:vb.net
|title=vb.net
}
Dim subE As Element = e.SubElement(){code}

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle