Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Finds the text that is delimited by the StartsWith and EndsWith properties and adds the text to the WebTestContext.
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: ObjectThe object that fired the event.
e
Type: Microsoft.VisualStudio.TestTools.WebTesting.ExtractionEventArgsContains information about the request, response, and context.
Remarks
The extracted text is also determined by the index of the occurrence of the delimited string.
.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.