Skip to main content
Home Forums Silverlight Programming Programming with .NET - General MediaElement.Attributes throws an ArgumentNullException
0 replies. Latest Post by markheath on May 31, 2007.
(0)
markheath
Member
117 points
63 Posts
05-31-2007 9:48 AM |
When I try to access the Attributes collection of my media element (after it has opened successfully), I always get an ArgumentNullException. Any suggestions?
This is the line of code that fails:
foreach (MediaAttribute attribute in mediaElement.Attributes)
thanks
Mark