
206
|
Chapter 12: The Language Reference
This is the Title of the Book, eMatter Edition
Copyright © 2006 O’Reilly & Associates, Inc. All rights reserved.
Friend Const ClassID As String = _
"C7BA6669-DCFB-43d6-9A74-B1BCC6EE467B"
Friend Const InterfaceID As String = _
"72663B50-6A44-46e7-83B6-F1A4F149FF5F"
Friend Const EventID As String = _
"BD2C0D5E-C0D7-4e1e-A9E8-AD29C8003D4B"
Private contactName As String
Private contactCity As String
Private contactState As String
Private contactZip As String
Public Property Name( ) As String
Get
Return contactName
End Get
Set(ByVal value As String)
contactName = value
End Set
End Property
Public Sub New( )
MyBase.New( )
End Sub
End Class
See Also
MarshalAs Attribute
Command Function
Class
Microsoft.VisualBasic.Interaction
Syntax
Dim result As String = Command( )
Description
The Command function returns the arguments used when launching an application
created with Visual Basic.
Usage at a Glance
• Command returns a string containing everything entered on the command line after
the executable filename. If there are no arguments available to return, the func-
tion returns an empty string.
•
Command returns an unparsed string containing the command-line arguments. Use
the
Split function to break the argument list up by spaces for easier processing.
Dim eachArgument( ) As String
eachArgument = Split(Command( ), " ")