Partager via


SerializationUtilities.SkipToFirstChild Method

Moves the reader to the open tag of the first child element.

Namespace:  Microsoft.VisualStudio.Modeling
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'Déclaration
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

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

See Also

Reference

SerializationUtilities Class

Microsoft.VisualStudio.Modeling Namespace