PackageRegistrationAttribute.UseManagedResourcesOnly Property
Gets or sets whether package resources are described in a managed package or in a satellite UI .dll file.
Namespace: Microsoft.VisualStudio.Shell
Assemblies: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'Déclaration
Public Property UseManagedResourcesOnly As Boolean
Get
Set
'Utilisation
Dim instance As PackageRegistrationAttribute
Dim value As Boolean
value = instance.UseManagedResourcesOnly
instance.UseManagedResourcesOnly = value
public bool UseManagedResourcesOnly { get; set; }
public:
property bool UseManagedResourcesOnly {
bool get ();
void set (bool value);
}
member UseManagedResourcesOnly : bool with get, set
function get UseManagedResourcesOnly () : boolean
function set UseManagedResourcesOnly (value : boolean)
Property Value
Type: System.Boolean
Set to true if package resources are described in a managed package, false if they are in a satellite UI .dll file.
Remarks
For managed resources, there should not be a native UI .dll file registered. For a description of the issues that surround managed resources, see Resources in Managed VSPackages.
.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
PackageRegistrationAttribute Class
PackageRegistrationAttribute Members
Microsoft.VisualStudio.Shell Namespace