This command will return the ID of the first contact node on the specified body. Once you have the ID, you can get information about the contact node with b2GetContactNodeBody and b2GetContactNodeContact. You can then use b2GetNextContactNode to check the next node. The parameter should be the unique integer handle that was returned when the body was created.
Syntax
Return as Integer = b2GetBodyFirstContactNode(ID as Integer)