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
參數
- sFormFieldName
型別:System.String
- sFormFieldType
型別:System.String
- bMatchCase
型別:System.Boolean
- bUseRegEx
型別:System.Boolean
- nMaxValues
型別:System.Int32
- bCountNullValues
型別:System.Boolean
- CollectionValues
型別:System.Collections.Specialized.StringCollection%
- bDecodeUnicodeEscapeSequences
型別:System.Boolean
- bSubStringExtract
型別:System.Boolean
- sSubStringStartsWith
型別:System.String
- sSubStringEndsWith
型別:System.String
- message
型別:System.String%
傳回值
型別:System.Int32
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。