次の方法で共有


ProvideLoadKeyAttribute.ResourceId Property

Definition

Gets the resource ID for the Package Load Key.

public:
 property short ResourceId { short get(); };
public:
 property short ResourceId { short get(); };
public short ResourceId { get; }
member this.ResourceId : int16
Public ReadOnly Property ResourceId As Short

Property Value

The resource ID for the Package Load Key.

Remarks

Important

Packages that target Visual Studio 2010 only do not need a package load key.

Packages that target Visual Studio 2008 and earlier must have a package load key in order to validate and load VSPackages. This includes VSPackages provided by third parties, regardless of whether the hosting version of Visual Studio has a VSIP license.

ResourceId is the resource ID for VSPackage load key.

Applies to