cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Problem using C# to create UDF

Gennaro
4-Participant

Problem using C# to create UDF

Hi,

i'm writing a small application in c# to create UDF .

I'm using the example written in visual basic as a reference. The problem is that the following instructions

udfInstructions.References = references;

and 

udfInstructions.VariantValues = (CpfcUDFVariantValues) variantVals

generate an error :

"Property, indexer or event pfcls.IpfcUDFCustomCreateInstruction.References" is not supported by the language; try directly calling accessor methods ..."

 

Can Anyone help me? How to solve?

Thanks

0 REPLIES 0
Top Tags