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
'宣言
Public ReadOnly Property ProductName As String
'使用
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).
Permissions
- 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.