共用方式為


InstalledProductRegistrationAttribute.UsePackage Property

Gets or sets whether the product installation uses the package ID.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public ReadOnly Property UsePackage As Boolean
public bool UsePackage { get; }

Property Value

Type: System.Boolean
The value is true if the product installation uses the package ID, and false otherwise.

.NET Framework Security

See Also

Reference

InstalledProductRegistrationAttribute Class

Microsoft.VisualStudio.Shell Namespace

Other Resources

Localized Resources in MFC Applications: Satellite DLLs