Outlook Contact's new field

Emilio Morimoto
Emilio Morimoto used Ask the Experts™
I saw in one example, that "loNewContact.UserProperties.Add ('Amount', 14)" includes a new field called 'Amount', type number in Outlook Contacts.
The parameter '14 'is what defines the field type 'numeric'. I need to create a new field, now of type 'text'. Someone tell me what the value of this parameter? And if possible, point me where I get this type of information?

Translate from portuguese:

"Eu ví, em um exemplo, que "loNewContact.UserProperties.Add('Amount', 14)" inclui um novo campo chamado 'Amount', tipo numérico, em Contatos do Outlook.
O parâmetro '14' é o que define o tipo 'numerico' do campo. Preciso criar um novo campo,  agora do tipo 'text'. Alguem poderia me dizer qual o valor desse parâmetro? E, se possível, me apontar onde consigo esse tipo de informação?"
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
The format of Add method is described here: http://msdn.microsoft.com/en-us/library/aa220070(office.11).aspx
Data types enumerations are here: http://msdn.microsoft.com/en-us/library/aa219371(office.11).aspx

(14 does not mean "Number" but "Curremcy", text is represented by 1)
Emilio MorimotoProgramador


Muito, muito obrigado.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial