IUITestCodeGen.GenerateCode Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Namespace: Microsoft.VisualStudio.TestTools.UITest.Common
Assembly: Microsoft.VisualStudio.TestTools.UITest.Common (in Microsoft.VisualStudio.TestTools.UITest.Common.dll)
Syntax
'Declaration
Function GenerateCode ( _
classType As Type, _
action As UITestAction, _
<OutAttribute> ByRef codeStatementCollection As List(Of CodeStatement) _
) As Boolean
'Usage
Dim instance As IUITestCodeGen
Dim classType As Type
Dim action As UITestAction
Dim codeStatementCollection As List(Of CodeStatement)
Dim returnValue As Boolean
returnValue = instance.GenerateCode(classType, _
action, codeStatementCollection)
bool GenerateCode(
Type classType,
UITestAction action,
out List<CodeStatement> codeStatementCollection
)
bool GenerateCode(
Type^ classType,
UITestAction^ action,
[OutAttribute] List<CodeStatement^>^% codeStatementCollection
)
function GenerateCode(
classType : Type,
action : UITestAction,
codeStatementCollection : List<CodeStatement>
) : boolean
abstract GenerateCode :
classType:Type *
action:UITestAction *
codeStatementCollection:List<CodeStatement> -> bool
Parameters
- classType
Type: System.Type
- codeStatementCollection
Type: System.Collections.Generic.List<CodeStatement>%
Return Value
Type: System.Boolean
.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.