TryGetValue method
Tries to get the physical address associated with the specified key.
The key.
When this method returns, contains the physical address associated with the specified key,
if the key is found; otherwise, null. This parameter is passed uninitialized.
Implementation
bool TryGetValue(PhysicalAddressKey key,
OutParam<PhysicalAddressEntry> physicalAddressOutParam) {
if (this.Entries.containsKey(key)) {
physicalAddressOutParam.param = this.Entries[key];
return true;
} else {
physicalAddressOutParam.param = null;
return false;
}
}