Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6705669
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:25:51+00:00 2026-05-26T07:25:51+00:00

I am writing a silverlight framework plugin and I want to find my metadata

  • 0

I am writing a silverlight framework plugin and I want to find my metadata in global config metadata based on the metadata key. I’m using the following statement.

var metadata = smfPlayer.GlobalConfigMetadata.FirstOrDefault(item => item.Key == METADATA_ID);

I’m getting a compilation error saying:

Error 1 ‘Microsoft.SilverlightMediaFramework.Utilities.Metadata.MetadataCollection’ does not contain a definition for ‘FirstOrDefault’ and no extension method ‘FirstOrDefault’ accepting a first argument of type ‘Microsoft.SilverlightMediaFramework.Utilities.Metadata.MetadataCollection’ could be found (are you missing a using directive or an assembly reference?) C:\cygwin\home\Weijia Li\test\testplayer\ConvivaMMPPFPlugin\ConvivaMMPPFPlugin.cs 45 63 ConvivaMMPPFPlugin

Can anyone tell me what’s wrong with my code?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T07:25:51+00:00Added an answer on May 26, 2026 at 7:25 am

    Did you import the System.Linq namespace?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We are writing a WPF application using Entity framework (Silverlight with RIA services to
I'm writing a Silverlight app using the MVVM pattern. I have a main view
I have been writing unit tests using NUnit and Moq with my Silverlight code
I am busy writing a login page in Silverlight. I am using an Authentication
I'm writing a Silverlight application. I want a Listbox that displays the rows vertically.
I am writing a Silverlight app calling WCF service. Another solution contains following projects
Hi I am writing a small utility too using silverlight 3 and WCF for
I writing wp7 silverlight app. I have a listbox with items. I want each
I want to learn a bit of Silverlight by writing a simple proof-of-concept RIA.
I'm writing a fairly big interface using Silverlight. As I progress, the xaml file

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.