public final class PhoneNumberDictionary extends DictionaryProperty<PhoneNumberKey,PhoneNumberEntry>
Constructor and Description |
---|
PhoneNumberDictionary() |
Modifier and Type | Method and Description |
---|---|
protected PhoneNumberEntry |
createEntryInstance()
Creates instance of dictionary entry.
|
protected String |
getFieldURI()
Gets the field URI.
|
String |
getPhoneNumber(PhoneNumberKey key)
Gets the phone number at the specified key.
|
void |
setPhoneNumber(PhoneNumberKey key,
String value)
Sets the phone number.
|
boolean |
tryGetValue(PhoneNumberKey key,
OutParam<String> outparam)
Tries to get the phone number associated with the specified key.
|
clearChangeLog, complexPropertyChanged, contains, createEntry, getEntries, getEntryXmlElementName, getFieldIndex, internalAdd, internalAddOrReplace, internalRemove, loadFromXml, writeDeleteUpdateToXml, writeElementsToXml, writeSetUpdateToXml, writeToXml
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, func, getNamespace, internalValidate, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml
public PhoneNumberDictionary()
protected String getFieldURI()
getFieldURI
in class DictionaryProperty<PhoneNumberKey,PhoneNumberEntry>
protected PhoneNumberEntry createEntryInstance()
createEntryInstance
in class DictionaryProperty<PhoneNumberKey,PhoneNumberEntry>
public String getPhoneNumber(PhoneNumberKey key)
key
- The phone number key.public void setPhoneNumber(PhoneNumberKey key, String value)
key
- the keyvalue
- the valuepublic boolean tryGetValue(PhoneNumberKey key, OutParam<String> outparam)
key
- the keyoutparam
- the outparamCopyright © 2012–2015 Microsoft. All rights reserved.