Skip to content

Get a property by multiple types #717

Description

@JimKnoxx

I noticed that the VCard class only has a getByType method.
If the VCard contains multiple types for a property there is currently no easy way to select this exact property.
If we have a VCARD like this:

BEGIN:VCARD
VERSION:3.0
TEL;TYPE=HOME,CELL:112233445566
TEL;TYPE=WORK,CELL:665544332211
TEL;TYPE=WORK:7778889994455
TEL;TYPE=EXTERNAL:555555555
END:VCARD

Selecting WORK will always return "665544332211".

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions