S
stef9728
Guest
Dear Community,
I'm trying to make a Void in C# for creating custom tables in MS Project. To create them, you need the Field-ID for Methods like Microsoft.Office.Interop.MSProject.Application.CustomFieldPropertiesEx and i want to enter them as parameter. I don't know the type of field ids, VisualStudio shows them like: Microsoft.Office.Interop.MSProject.pjCustomField and you can't replace them with a variable.
Do you know any way, to replace the FieldID with a variable?
Thanks in advance,
Stefan
Heres a code example, to show what it looks like:
//Create Dropdown-List
Globals.ThisAddIn.Application.CustomFieldPropertiesEx(FieldID: MSProject.PjCustomField.pjCustomTaskText30,
Attribute: MSProject.PjCustomFieldAttribute.pjFieldAttributeValueList, SummaryCalc: MSProject.PjSummaryCalc.pjCalcNone,
GraphicalIndicators: false, AutomaticallyRolldownToAssn: false);
Continue reading...
I'm trying to make a Void in C# for creating custom tables in MS Project. To create them, you need the Field-ID for Methods like Microsoft.Office.Interop.MSProject.Application.CustomFieldPropertiesEx and i want to enter them as parameter. I don't know the type of field ids, VisualStudio shows them like: Microsoft.Office.Interop.MSProject.pjCustomField and you can't replace them with a variable.
Do you know any way, to replace the FieldID with a variable?
Thanks in advance,
Stefan
Heres a code example, to show what it looks like:
//Create Dropdown-List
Globals.ThisAddIn.Application.CustomFieldPropertiesEx(FieldID: MSProject.PjCustomField.pjCustomTaskText30,
Attribute: MSProject.PjCustomFieldAttribute.pjFieldAttributeValueList, SummaryCalc: MSProject.PjSummaryCalc.pjCalcNone,
GraphicalIndicators: false, AutomaticallyRolldownToAssn: false);
Continue reading...