J
jay1_z
Here is my code in VB:
Return Me.Document.GetItemValue("Subject")(0)
The "GetItemValue" method returns an 'object' array, and the first item
in the array is a string. This works for me in VB but when trying to
convert this to C#:
return doc.GetItemValue("Subject")[0];
it bombs with this error:
" Cannot apply indexing with [] to an expression of type 'object' "
Does anyone know how to pull array items out of an 'object' array?
Thanks in advance.
Return Me.Document.GetItemValue("Subject")(0)
The "GetItemValue" method returns an 'object' array, and the first item
in the array is a string. This works for me in VB but when trying to
convert this to C#:
return doc.GetItemValue("Subject")[0];
it bombs with this error:
" Cannot apply indexing with [] to an expression of type 'object' "
Does anyone know how to pull array items out of an 'object' array?
Thanks in advance.