共用方式為


VBPackageSettings Interface

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

Namespace:  VSLangProj2
Assembly:  VSLangProj2 (in VSLangProj2.dll)

Syntax

'Declaration
<GuidAttribute("4E42424E-D013-4716-A7D3-47141B70432C")> _
Public Interface VBPackageSettings
[GuidAttribute("4E42424E-D013-4716-A7D3-47141B70432C")]
public interface VBPackageSettings
[GuidAttribute(L"4E42424E-D013-4716-A7D3-47141B70432C")]
public interface class VBPackageSettings
[<GuidAttribute("4E42424E-D013-4716-A7D3-47141B70432C")>]
type VBPackageSettings =  interface end
public interface VBPackageSettings

The VBPackageSettings type exposes the following members.

Properties

  Name Description
Public property OptionCompare Gets or sets whether strings are compared using a binary or text method. Visual Basic projects only.
Public property OptionExplicit Gets or sets whether variables must be declared.
Public property OptionStrict Gets or sets whether implicit narrowing conversions are allowed.

Top

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.

See Also

Reference

VSLangProj2 Namespace