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 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。