How to set custom property type?

Hi.

 

I want to add new property to cutom properties of document andt set type of this property to DATE, NUMBER or YesNo. How i can do it?

 

properties = propertySets.Item(m_customProps);

properties.Add("Name", Value);

 

I will be grateful for any advice.

 

Posted by: Walker
Post date: 7/18/2012 1:12:54 AM

1 REPLY

Re: How to set custom property type?

It all revolves around what "Type" Value is.

 

Dim Value as DateTime
Value = DateTime.Now 'DATE

Dim Value as Integer
Value = 123 'NUMBER

Dim Value as Boolean
Value = True 'YesNo

 

Posted by: Jason Newell
Post date: 7/18/2012 1:17:25 AM