VisualBasic Class

.NET Framework 4.6 and 4.5

Provides an attached property store for VisualBasicSettings.

System.Object
  Microsoft.VisualBasic.Activities.VisualBasic

Namespace:  Microsoft.VisualBasic.Activities
Assembly:  System.Activities (in System.Activities.dll)

public static class VisualBasic

The VisualBasic type exposes the following members.

  NameDescription
Public methodStatic memberGetSettingsRetrieves the VisualBasicSettings instance attached to the specified object.
Public methodStatic memberSetSettingsAttaches a VisualBasicSettings instance to the specified object.
Public methodStatic memberSetSettingsForImplementationAttaches a VisualBasicSettings instance to an object for use by its implementation.
Public methodStatic memberShouldSerializeSettingsReturns a value that indicates whether the VisualBasicSettings instance associated with the specified object should be serialized.
Top

VisualBasic allows for an instance of VisualBasicSettings to be attached to the top level activity in a workflow defined in a XAML file, thus defining the settings for all VisualBasicReference<TResult> and VisualBasicValue<TResult> expressions in that workflow.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft