共用方式為


SharePointExtractFormField2.GetFormFieldValues 方法

命名空間:  Microsoft.VisualStudio.TestTools.WebTesting.Rules
組件:  Microsoft.VisualStudio.QualityTools.WebTestFramework (在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

語法

'宣告
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

參數

傳回值

型別:System.Int32

.NET Framework 安全性

請參閱

參考

SharePointExtractFormField2 類別

Microsoft.VisualStudio.TestTools.WebTesting.Rules 命名空間