Visual Basic Run-Time Support in Silverlight
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Microsoft Silverlight comes with full Visual Basic language support including recently added features such as LINQ, XML Literals, and XML Axis properties. However, some run-time features of Visual Basic are not supported in Microsoft Silverlight. Features that are not supported include the My Namespace, financial functions, and file system functions. This topic lists which run-time features are not supported in Microsoft Silverlight.
Visual Basic Namespaces Not Supported in Silverlight
Microsoft.VisualBasic.ApplicationServices
Microsoft.VisualBasic.Devices
Microsoft.VisualBasic.FileIO
Microsoft.VisualBasic.Logging
Microsoft.VisualBasic.MyServices
Microsoft.VisualBasic.MyServices.Internal
Note: |
---|
The Microsoft.VisualBasic.CompilerServices namespace supports the .NET Framework infrastructure. There are differences between the Microsoft Silverlight version of The Microsoft.VisualBasic.CompilerServices namespace and the .NET Framework and Visual Studio version. These differences are not listed in this topic because The Microsoft.VisualBasic.CompilerServices namespace is not intended to be used directly from your code. |
Visual Basic Run-Time Members Not Supported in Silverlight
The following attributes, classes, enumerations, and members from the Microsoft.VisualBasic namespace are not supported in Microsoft.Silverlight.
AppWinStyle enumeration
AudioPlayMode enumeration
ComClassAttribute attribute
Conversion.Oct method
DueDate enumeration
ErrObject.HelpContext property
ErrObject.HelpFile property
ErrObject.LastDLLError property
ErrObject.Source property
FileSystem class
FileAttribute enumeration
Financial class
Information.QBColor method
Information.RGB method
Information.SystemTypeName method
Information.TypeName method
Information.VbTypeName method
Information.IsNumeric method
Interaction.AppActivate method
Interaction.Beep method
Interaction.CallByName method
Interaction.Command method
Interaction.CreateObject method
Interaction.DeleteSetting method
Interaction.Environ method
Interaction.GetAllSettings method
Interaction.GetObject method
Interaction.GetSetting method
Interaction.InputBox method
Interaction.MsgBox method
Interaction.SaveSetting method
Interaction.Shell method
MsgBoxResult enumeration
MsgBoxStyle enumeration
OpenAccess enumeration
OpenMode enumeration
OpenShare enumeration
SpcInfo class
Strings.StrConv method
Strings.Len method
Note: The Strings.Len method is supported in Microsoft Silverlight.
TabInfo class
VBFixedArrayAttribute class
VBFixedStringAttribute class
VbStrConv enumeration
Other Visual Basic Differences in Microsoft Silverlight
Microsoft.VisualBasic.DateAndTime
The following members of the DateAndTime class are read-only and cannot be set in Microsoft Silverlight:
DateString property
TimeOfDay property
TimeString property
Today property
The DateString property always returns the system date as "MM-dd-yyyy" if you are running Visual Basic within Microsoft Silverlight regardless of the system locale.