New Object() {Nothing, Nothing, Nothing, myType} <-- what does this mean?

A

adhadi

Hi, can anybody explain what is the "New Object() ......" needed for? i
couldnt figure out.

schema1 = cnn1.GetOleDbSchemaTable(New OleDb.OleDbSchemaGuid().Tables, New
Object() {Nothing, Nothing, Nothing, myType})

Best Regards


Adi
 
J

Joyjit Mukherjee

Hi,

thats an object array of restrictions that you might need to impose while
fetching the rows. Passing an all null values for the parameters means all
rows to be returned.

HTH
Regards
Joyjit
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top