Partager via


TestExecutionSection.DeserializeElement Method

Reads the app.config file and populates the properties of this object by using values from the test execution section of the file.

Namespace:  Microsoft.VisualStudio.TestTools.Execution
Assembly:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)

Syntax

'Declaration
Protected Overrides Sub DeserializeElement ( _
    reader As XmlReader, _
    serializeCollectionKey As Boolean _
)
protected override void DeserializeElement(
    XmlReader reader,
    bool serializeCollectionKey
)
protected:
virtual void DeserializeElement(
    XmlReader^ reader, 
    bool serializeCollectionKey
) override
abstract DeserializeElement : 
        reader:XmlReader * 
        serializeCollectionKey:bool -> unit  
override DeserializeElement : 
        reader:XmlReader * 
        serializeCollectionKey:bool -> unit
protected override function DeserializeElement(
    reader : XmlReader, 
    serializeCollectionKey : boolean
)

Parameters

  • reader
    Type: XmlReader

    An XmlReader object.

  • serializeCollectionKey
    Type: Boolean

    true to deserialize only the key property values; otherwise, false.

.NET Framework Security

See Also

Reference

TestExecutionSection Class

Microsoft.VisualStudio.TestTools.Execution Namespace