ProvideLoadKeyAttribute.ProductName Property
The ProductName property returns a string containing the name of your VSPackage.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)
Syntax
'Declaration
Public ReadOnly Property ProductName As String
'Usage
Dim instance As ProvideLoadKeyAttribute
Dim value As String
value = instance.ProductName
public string ProductName { get; }
public:
property String^ ProductName {
String^ get ();
}
public function get ProductName () : String
Property Value
Type: System.String
The name of your VSPackage.
Remarks
ProductName is the name of the product that this VSPackage delivers. If a product is comprised of multiple VSPackages, each package needs its own Package Load Key (PLK).
.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.