Partager via


ExtractFormField.Extract Method

Extracts the form field name and value that matches the Name property.

Namespace:  Microsoft.VisualStudio.TestTools.WebTesting.Rules
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

Syntax

'Declaration
Public Overrides Sub Extract ( _
    sender As Object, _
    e As ExtractionEventArgs _
)
public override void Extract(
    Object sender,
    ExtractionEventArgs e
)
public:
virtual void Extract(
    Object^ sender, 
    ExtractionEventArgs^ e
) override
abstract Extract : 
        sender:Object * 
        e:ExtractionEventArgs -> unit  
override Extract : 
        sender:Object * 
        e:ExtractionEventArgs -> unit
public override function Extract(
    sender : Object, 
    e : ExtractionEventArgs
)

Parameters

  • sender
    Type: Object

    The object that raises the event.

Remarks

If the name attribute value that is specified in the Name property is found, e.Success equals true.

.NET Framework Security

See Also

Reference

ExtractFormField Class

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace