Xceed .NET Libraries Documentation
Xceed.Zip Assembly / Xceed.Zip.Sfx Namespace / DialogMessageList Class / IndexOf Method
The dialog message to locate.


In This Topic
    IndexOf Method (DialogMessageList)
    In This Topic
    Searches for the specified dialog message and returns the zero-based index of the first occurrence within the list.
    Syntax
    'Declaration
     
    Public Function IndexOf( _
       ByVal value As String _
    ) As DialogMessages
    'Usage
     
    Dim instance As DialogMessageList
    Dim value As String
    Dim value As DialogMessages
     
    value = instance.IndexOf(value)
    public DialogMessages IndexOf( 
       string value
    )

    Parameters

    value
    The dialog message to locate.

    Return Value

    The zero-based index of the first occurrence of value within the entire list, if found; otherwise, returns -1.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also