VBPackageSettings Interface

Definition

Defines a group of Visual Basic settings that are applied to all new projects.

public interface class VBPackageSettings
public interface class VBPackageSettings
__interface VBPackageSettings
[System.Runtime.InteropServices.Guid("4E42424E-D013-4716-A7D3-47141B70432C")]
[System.Runtime.InteropServices.TypeLibType(4160)]
public interface VBPackageSettings
[System.Runtime.InteropServices.Guid("4E42424E-D013-4716-A7D3-47141B70432C")]
public interface VBPackageSettings
[<System.Runtime.InteropServices.Guid("4E42424E-D013-4716-A7D3-47141B70432C")>]
[<System.Runtime.InteropServices.TypeLibType(4160)>]
type VBPackageSettings = interface
[<System.Runtime.InteropServices.Guid("4E42424E-D013-4716-A7D3-47141B70432C")>]
type VBPackageSettings = interface
Public Interface VBPackageSettings
Attributes

Remarks

This class encapsulates the settings for Option Strict, Option Explicit, and Option Compare. The class is used to set the options for new projects.

Properties

OptionCompare

Gets or sets whether strings are compared using a binary or text method. Visual Basic projects only.

OptionExplicit

Gets or sets whether variables must be declared.

OptionStrict

Gets or sets whether implicit narrowing conversions are allowed.

Applies to