What does " As Schemas" do in Visual Basic

atomicgs12
atomicgs12 used Ask the Experts™
on
In Visual Basic I have seen where there is code like:

Imports Schemas

Dim dt As New Schemas.myDBLocal

What is Schemas? I don't see any good explanation in the 'help' files and or MDSN. What does the ". As New Schemas" do to 'dt'?

Thanks
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
This might be under the System.Xml Framework for creating schemas and so on.

http://www.java2s.com/Tutorial/VB/0460__XML/CreateXMLSchema.htm

Also, if you use your Object Browser (F2) and search for the word "Schemas", you might find what you are looking for.  For example:

Public Function Schemas() As System.Collections.ICollection
     Member of System.Xml.Schema.XmlSchemaSet
Summary:
Returns a collection of all the XML Schema definition language (XSD) schemas in the System.Xml.Schema.XmlSchemaSet.

Return Values:
An System.Collections.ICollection object containing all the schemas that have been added to the System.Xml.Schema.XmlSchemaSet. If no schemas have been added to the System.Xml.Schema.XmlSchemaSet, an empty System.Collections.ICollection object is returned.

http://msdn.microsoft.com/en-us/library/system.xml.schema.xmlschemaset.aspx

http://msdn.microsoft.com/en-us/library/142fs5cx.aspx



Most Valuable Expert 2012
Top Expert 2014
Commented:
Schemas seems to be a DLL in your project. It is probably the data access layer. Do you see it in your references?

Author

Commented:
Thanks to both of you. I realized it was part of the project about a minute after I published the question. I should have looked closer. I appreciate your comments.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial