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
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'Declaration
Public Property UseManagedResourcesOnly As Boolean
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
Microsoft.VisualStudio.Shell Namespace