共用方式為


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

'宣告
Public Property UseManagedResourcesOnly As Boolean
public bool UseManagedResourcesOnly { get; set; }

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

See Also

Reference

PackageRegistrationAttribute Class

Microsoft.VisualStudio.Shell Namespace

Other Resources

Registering VSPackages