共用方式為


InstalledProductRegistrationAttribute.IconResourceID Property

Gets or sets the resource ID of the icon associated with the product.

Namespace:  Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Public Property IconResourceID As Integer
public int IconResourceID { get; set; }

Property Value

Type: System.Int32
The resource ID of the icon associated with the product.

Remarks

The icon is stored in the managed package or its managed or unmanaged satellite DLL.

.NET Framework Security

See Also

Reference

InstalledProductRegistrationAttribute Class

Microsoft.VisualStudio.Shell Namespace

Other Resources

Localized Resources in MFC Applications: Satellite DLLs