SerializationUtilities.SkipToFirstChild Method
Moves the reader to the open tag of the first child element.
Namespace: Microsoft.VisualStudio.Modeling
Assembly: Microsoft.VisualStudio.Modeling.Sdk.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.11.0.dll)
Syntax
'Declaration
Public Shared Sub SkipToFirstChild ( _
reader As XmlReader _
)
public static void SkipToFirstChild(
XmlReader reader
)
public:
static void SkipToFirstChild(
XmlReader^ reader
)
static member SkipToFirstChild :
reader:XmlReader -> unit
public static function SkipToFirstChild(
reader : XmlReader
)
Parameters
reader
Type: XmlReaderThe XmlReader to skip.
Remarks
If the reader is not on an open tag, including an empty tag, the method does nothing (no move).
If the reader does not have any nested child element, the method will move the reader to the matching close tag.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.