473,395 Members | 1,885 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Value of type '1-dimensional array of String' cannot be converted to 'String'

7
Would anyone know why I'm getting the error message "Value of type '1-dimensional array of String' cannot be converted to 'String'"?

Code snippet:

Expand|Select|Wrap|Line Numbers
  1. Dim masterids As Long()
  2. Dim addedpropdefids As Long()
  3. Dim removedpropdefids As Long()
  4. Dim comment As String()
  5.  
  6.  
  7. Dim updatefileprop As File = mDocSvc.UpdateFilePropertyDefinitions(masterids, addedpropdefids, removedpropdefids, comment)
  8.  
Sep 30 '11 #1
0 1501

Sign in to post your reply or Sign up for a free account.

Similar topics

9
by: Andrew | last post by:
It seems that in C#, given an instance "a" of some value type "A", one can pass a by reference to functions with signatures of either "void f(object obj)" or "void g(ref A obj)". But passing a into...
13
by: ahaupt | last post by:
Hi all, I'm implementing the Clone() method through the ICloneable interface and don't quite know how deep I need to go for a deep copy. Example: class A: ICloneable { object _val;
0
by: Bryan | last post by:
Hello all, Is there a way to mark a value-type property on a class as optional when being used as a parameter to a web service? The problem is that I don't want the consumer of the web service...
1
by: Dave Parry | last post by:
Hi, I would like to hear peoples thoughts on passing a value type by reference and then trying to store this ref in a member so it can be updated elsewhere, whereby I want the referenced value...
2
by: drsantosh82 | last post by:
Hi, Is it possible to have an STL map in which the value type (i.e. the "second" of the pair) does not have an overloaded constructor? For example, I have a map definition like this:...
4
by: Mark Ingram | last post by:
Hi, I have a function: void MyFunction(Int32^ outVar) { if (outVar != nullptr) { *outVar = 32; } }
24
by: carnold | last post by:
Hello, I'm a developer coming from C++ and Java ... I've going thru "Effective C#" (which highly recommend for people coming from other languages wanting to learn C#), and it states that "value...
1
by: nsphelt | last post by:
Is there any way I can store a reference to a value type in a variable? Example: Public Class SomeClass Private valueRef As Integer Sub UpdateValue(ByRef value As...
9
by: puzzlecracker | last post by:
"The C# specification states that all value types have a default parameterless constructor, and it uses the same syntax to call both explicitly declared constructors and the parameterless one,...
5
by: romiverma | last post by:
hi, i have used sql2000 stored procedure with 2 date parameters to create crystal report 8.5. when i am sending date parameters from vb6 and calling the report, its giving error "the specified value...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.