SharePointExtractFormField2.GetFormFieldValues Method

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

Syntax

'Declaration
Public Shared Function GetFormFieldValues ( _
    sFormFieldName As String, _
    sFormFieldType As String, _
    response As WebTestResponse, _
    bMatchCase As Boolean, _
    bUseRegEx As Boolean, _
    nMaxValues As Integer, _
    bCountNullValues As Boolean, _
    ByRef CollectionValues As StringCollection, _
    bDecodeUnicodeEscapeSequences As Boolean, _
    bSubStringExtract As Boolean, _
    sSubStringStartsWith As String, _
    sSubStringEndsWith As String, _
    <OutAttribute> ByRef message As String _
) As Integer
public static int GetFormFieldValues(
    string sFormFieldName,
    string sFormFieldType,
    WebTestResponse response,
    bool bMatchCase,
    bool bUseRegEx,
    int nMaxValues,
    bool bCountNullValues,
    ref StringCollection CollectionValues,
    bool bDecodeUnicodeEscapeSequences,
    bool bSubStringExtract,
    string sSubStringStartsWith,
    string sSubStringEndsWith,
    out string message
)
public:
static int GetFormFieldValues(
    String^ sFormFieldName, 
    String^ sFormFieldType, 
    WebTestResponse^ response, 
    bool bMatchCase, 
    bool bUseRegEx, 
    int nMaxValues, 
    bool bCountNullValues, 
    StringCollection^% CollectionValues, 
    bool bDecodeUnicodeEscapeSequences, 
    bool bSubStringExtract, 
    String^ sSubStringStartsWith, 
    String^ sSubStringEndsWith, 
    [OutAttribute] String^% message
)
static member GetFormFieldValues : 
        sFormFieldName:string * 
        sFormFieldType:string * 
        response:WebTestResponse * 
        bMatchCase:bool * 
        bUseRegEx:bool * 
        nMaxValues:int * 
        bCountNullValues:bool * 
        CollectionValues:StringCollection byref * 
        bDecodeUnicodeEscapeSequences:bool * 
        bSubStringExtract:bool * 
        sSubStringStartsWith:string * 
        sSubStringEndsWith:string * 
        message:string byref -> int
public static function GetFormFieldValues(
    sFormFieldName : String, 
    sFormFieldType : String, 
    response : WebTestResponse, 
    bMatchCase : boolean, 
    bUseRegEx : boolean, 
    nMaxValues : int, 
    bCountNullValues : boolean, 
    CollectionValues : StringCollection, 
    bDecodeUnicodeEscapeSequences : boolean, 
    bSubStringExtract : boolean, 
    sSubStringStartsWith : String, 
    sSubStringEndsWith : String, 
    message : String
) : int

Parameters

  • sFormFieldName
    Type: String
  • sFormFieldType
    Type: String
  • bMatchCase
    Type: Boolean
  • bUseRegEx
    Type: Boolean
  • nMaxValues
    Type: Int32
  • bCountNullValues
    Type: Boolean
  • CollectionValues
    Type: StringCollection%
  • bDecodeUnicodeEscapeSequences
    Type: Boolean
  • bSubStringExtract
    Type: Boolean
  • sSubStringStartsWith
    Type: String
  • sSubStringEndsWith
    Type: String
  • message
    Type: String%

Return Value

Type: Int32

.NET Framework Security

See Also

Reference

SharePointExtractFormField2 Class

Microsoft.VisualStudio.TestTools.WebTesting.Rules Namespace