Skip to content

Compare type ExifTag accepts against ExifDataType #2575

Closed Answered by prabhavmehra
prabhavmehra asked this question in Q&A
Discussion options

You must be logged in to vote
Type tagType = ExifTag.{tag}.GetType();

// switch (tagType)
case Type t when t == typeof(ExifTag<byte>): // change `byte` to any other type

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@JimBobSquarePants
Comment options

@prabhavmehra
Comment options

@JimBobSquarePants
Comment options

@prabhavmehra
Comment options

Answer selected by prabhavmehra
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants