DeclarativeWebTest.GetItem Method
Gets the WebTestItem with the specified zero-based request number.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Function GetItem ( _
itemId As Integer _
) As WebTestItem
public WebTestItem GetItem(
int itemId
)
public:
WebTestItem^ GetItem(
int itemId
)
member GetItem :
itemId:int -> WebTestItem
public function GetItem(
itemId : int
) : WebTestItem
Parameters
itemId
Type: Int32Zero-based sequence number of the WebTestItem within the web test.
Return Value
Type: Microsoft.VisualStudio.TestTools.WebTesting.WebTestItem
The WebTestItem with specified request number. Null if not found.
.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.