InfoConnect API Guide
Attachmate.Reflection.Web.Msie Namespace / IWebElement Interface / InvokeMember Method / InvokeMember(String) Method
The name of the property or method to invoke.


In This Topic
    InvokeMember(String) Method
    In This Topic
    Executes a method that is unique to the current element.
    Syntax
    'Declaration
     
    
    Overloads Function InvokeMember( _
       ByVal methodName As String _
    ) As Object
    'Usage
     
    
    Dim instance As IWebElement
    Dim methodName As String
    Dim value As Object
     
    value = instance.InvokeMember(methodName)
    object InvokeMember( 
       string methodName
    )

    Parameters

    methodName
    The name of the property or method to invoke.

    Return Value

    The element returned by the function, represented as an Object. If this Object is another HTML element, and you have a reference to the unmanaged MSHTML library added to your project, you can cast it to its appropriate unmanaged interface.
    See Also