Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Gets or sets whether the product installation uses the package ID.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Syntax
'Declaration
Public ReadOnly Property UsePackage As Boolean
Get
'Usage
Dim instance As InstalledProductRegistrationAttribute
Dim value As Boolean
value = instance.UsePackage
public bool UsePackage { get; }
public:
property bool UsePackage {
bool get ();
}
member UsePackage : bool
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