コード例 #1
0
 /// <summary>
 /// Gets the value associated with the specified key.
 /// </summary>
 /// <param name="key">The key whose value to get.</param>
 /// <param name="value">When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.</param>
 /// <returns>true if the object that implements Skycap.Data.AccountMailboxDictionary contains an element with the specified key; otherwise, false.</returns>
 public bool TryGetValue(AccountSettingsData key, out ObservableCollection <MailboxListViewItem> value)
 {
     return(dictionary.TryGetValue(key, out value));
 }
コード例 #2
0
 /// <summary>
 /// Determines whether the Skycap.Data.AccountMailboxDictionary contains an element with the specified key.
 /// </summary>
 /// <param name="key">The key to locate in the Skycap.Data.AccountMailboxDictionary.</param>
 /// <returns>true if the Skycap.Data.AccountMailboxDictionary contains an element with the key; otherwise, false.</returns>
 public bool ContainsKey(AccountSettingsData key)
 {
     return(dictionary.ContainsKey(key));
 }