No announcements
Found 2927701 threads
-
1 Votes
Updating values of Objects in a Dictionary
So you can't update like this.Answered | 5 Replies | 3782 Views | Created by miccza - Thursday, May 12, 2011 12:44 PM | Last reply by Mike Feng - Saturday, May 21, 2011 10:30 AM -
0 Votes
static dictionary as member of class
In addition, the Dictionary Key template arg is required to have a equality operator defined for it.Answered | 3 Replies | 1711 Views | Created by Demaunt - Tuesday, February 5, 2013 10:58 PM | Last reply by Damon Zheng - Monday, February 18, 2013 10:54 AM -
1 Votes
Copy Dictionary <TKey, Object> to Dictionary <TKey, Object> ?????
If your question has been solved, please don't forget mark/vote the replies which helped you, and this will encourage the other community members to ...Answered | 4 Replies | 8168 Views | Created by tfeitor - Thursday, November 25, 2010 10:20 PM | Last reply by Alan_chen - Monday, November 29, 2010 6:20 AM -
1 Votes
Returning Dictionary object
To work around this restriction, either create your own "dictionary" type that is serializable.Answered | 3 Replies | 13094 Views | Created by Kobruleht - Tuesday, January 13, 2009 7:07 PM | Last reply by John Saunders - Thursday, January 15, 2009 7:46 PM -
3 Votes
Object as Key in Dictionary
If you have a dictionary with objects as keys, then these objects would not be able to be garbage-collected as long as the dictionary exists.Answered | 25 Replies | 35257 Views | Created by vinay dvd - Tuesday, September 14, 2010 3:43 PM | Last reply by XGBH - Friday, January 9, 2015 10:43 PM -
1 Votes
Accessing object properties from an object stored in a dictionary
Mick, thanks so much, I needs to bang my head on the wall now :) I'll test when I get i home from work in an hr and mark as answerAnswered | 2 Replies | 602 Views | Created by Drifyt - Thursday, October 10, 2013 5:53 AM | Last reply by Drifyt - Thursday, October 10, 2013 6:14 AM -
0 Votes
Updating values in DICTIONARY collections
Ron.Whittle said: The dictionary is storing a reference to the class, and unless you instantiate a new one each time, you just store a reference to one object multiple times.Answered | 5 Replies | 3618 Views | Created by BBBSCoder - Sunday, October 12, 2008 9:11 PM | Last reply by BBBSCoder - Monday, October 13, 2008 8:05 PM -
0 Votes
Dictionary as class member?
This can be beneficial to other community members reading this thread.Answered | 10 Replies | 1115 Views | Created by Tom Ruby - Monday, May 6, 2019 3:09 PM | Last reply by Alberto Poblacion - Thursday, May 16, 2019 6:59 AM -
0 Votes
Databind to object in Dictionary Collection
The Values property of the dictionary will give you a ValueCollection, which implements ICollection<Machine> and IEnumerable<Machine>, and therefore the ...Answered | 1 Replies | 4622 Views | Created by Jeremy Hutchinson - Friday, November 7, 2008 7:56 PM | Last reply by Brian Schwalm - Friday, November 7, 2008 9:41 PM -
0 Votes
Update a value in a Dictionary using loop
Dictionary<string, object> dictionary = Directory.GetFiles(txtSource.Text, "*.Answered | 6 Replies | 8291 Views | Created by Adarsha Nadig S - Thursday, December 13, 2012 10:03 AM | Last reply by Brian Seekford - Thursday, December 13, 2012 4:42 PM -
4 Votes
Binding to Object field of Dictionary<string,Object> In WPF
</param> public void Execute(object parameter) { _execute(parameter); } #endregion ICommand Members #endregion ...Answered | 8 Replies | 13593 Views | Created by waynedrussell - Monday, March 14, 2011 12:14 PM | Last reply by Sheldon _Xiao - Tuesday, March 22, 2011 1:10 PM -
0 Votes
dynamic objects and members
2) using a dictionary or something similar.Answered | 5 Replies | 2760 Views | Created by dash masterful - Wednesday, April 28, 2010 2:09 PM | Last reply by Louis.fr - Friday, April 30, 2010 4:44 PM -
1 Votes
How to convert a System.Json.JsonValue to a dictionary<string, object>
string JSON = @"{'1':'A','2':'B','3':'C','4':'D'}"; var restoredDictionary = JsonConvert.DeserializeObject<Dictionary<string, ...Answered | 3 Replies | 2403 Views | Created by ccaltagi - Sunday, March 3, 2019 5:21 AM | Last reply by ccaltagi - Tuesday, March 12, 2019 1:54 PM -
0 Votes
Modify a resource dictionary element from code and update UI
The resource dictionaries are pulled into memory and stored in a sort of a dictionary in application.current.resources when you do that merging in app.xaml.Answered | 7 Replies | 14191 Views | Created by IamHuM - Friday, May 15, 2015 1:27 PM | Last reply by Andy ONeill - Saturday, May 16, 2015 8:00 AM -
0 Votes
Accessing Dictionary object collection in a listbox
Bind the dictionary to the ListBox.Answered | 1 Replies | 7491 Views | Created by Antony Romar M G - Thursday, September 10, 2009 11:49 AM | Last reply by JohnGrove - Thursday, September 10, 2009 1:14 PM -
0 Votes
How to cast Dictionary<long, myClass> to Dictionary<IComparable, object>
Dictionary<long, Program> dic1 = new Dictionary<long, Program>(); var dic2 = dic1.ToDictionary(kvp => kvp.Key as IComparable, kvp => kvp.Value as ...Answered | 2 Replies | 9113 Views | Created by MishaSoft - Wednesday, August 26, 2009 8:31 PM | Last reply by MishaSoft - Thursday, August 27, 2009 6:33 AM -
0 Votes
Serialize Dictionary object as Key:Key, Value:Value in Web API?
WCF serialize the dictionary object into Key:Key and Value:Value format.Answered | 2 Replies | 8991 Views | Created by Hibrise Technologies_0 - Thursday, January 21, 2016 8:11 AM | Last reply by Grady_Dong - Friday, January 29, 2016 5:22 AM -
0 Votes
creating a Dictionary object based on English
It is possible to extend the list of recognized terms for a user by providing a Custom Dictionary.Answered | 5 Replies | 3420 Views | Created by gib65 - Monday, May 14, 2012 9:43 PM | Last reply by gib65 - Thursday, May 17, 2012 5:32 PM -
0 Votes
WPF SpellCheck - Possible to Update Default Dictionary?
If not, could you share us how your dictionaries is defined?Answered | 6 Replies | 2826 Views | Created by KellyInSeattle - Wednesday, July 31, 2013 12:59 PM | Last reply by Xiaoliang Chen - MSFT - Thursday, August 8, 2013 1:57 AM -
2 Votes
How to compare two Dictionary objects and find items missing from each?
Add, at the top of your C# file: using System.Linq; "Intersect" and ...Answered | 3 Replies | 21803 Views | Created by jjouett - Tuesday, February 15, 2011 10:39 PM | Last reply by Reed Copsey, Jr - Wednesday, February 16, 2011 12:08 AM - Items 1 to 20 of 2927701 Next ›
No announcements