Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2021 Release Wave 2Discover the latest updates and new features releasing from October 2021 through March 2022.
2021 release wave 2 plan
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
Same as my subject, What is the difference between image.Attributes["fieldName"] and image["fieldName"] in plugin?
For now, Using both them to get or set value are both working in my code. I'm wondering are there any differences in them or does anyone cause lower efficiency or a potential issue?
I would suggest, as a best practices, to always use image.Attributes["fieldName"], in this way the referenced key get explicit to the compiler, although it seems that compiler sort out both syntax.
There is no difference and you can use any syntax you like.
Business Applications communities