Chat Support
Loupe - Log - Monitor - Resolve
Gibraltar.Serialization Namespace / PacketDefinitionList Class / IndexOf Method / IndexOf(IPacket) Method
IPacket object for which a PacketDefinition may be cached

In This Topic
    IndexOf(IPacket) Method
    In This Topic
    Gets the index of the corresponding PacketDefinition, if cached. Otherwise, returns -1.
    Syntax
    'Declaration
     
    
    Public Overloads Function IndexOf( _
       ByVal packet As IPacket _
    ) As Integer
    public int IndexOf( 
       IPacket packet
    )

    Parameters

    packet
    IPacket object for which a PacketDefinition may be cached
    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