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 RegisterLoadKeyAttribute
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.
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.
See Also
Reference
RegisterLoadKeyAttribute Class
RegisterLoadKeyAttribute Members