InstalledProductRegistrationAttribute.UsePackage Property
Gets or sets whether the product installation uses the package ID.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'Declaration
Public ReadOnly Property UsePackage As Boolean
'Usage
Dim instance As InstalledProductRegistrationAttribute
Dim value As Boolean
value = instance.UsePackage
public bool UsePackage { get; }
public:
property bool UsePackage {
bool get ();
}
public function get UsePackage () : boolean
Property Value
Type: System.Boolean
The value is true if the product installation uses the package ID, and false otherwise.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
InstalledProductRegistrationAttribute Class
InstalledProductRegistrationAttribute Members
Microsoft.VisualStudio.Shell Namespace