다음을 통해 공유


ProvideLoadKeyAttribute.ProductName Property

The ProductName property returns a string containing the name of your VSPackage.

Namespace:  Microsoft.VisualStudio.Shell
Assemblies:   Microsoft.VisualStudio.Shell.9.0 (in Microsoft.VisualStudio.Shell.9.0.dll)
  Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
  Microsoft.VisualStudio.Shell (in Microsoft.VisualStudio.Shell.dll)

Syntax

‘선언
Public ReadOnly Property ProductName As String
    Get
‘사용 방법
Dim instance As ProvideLoadKeyAttribute
Dim value As String

value = instance.ProductName
public string ProductName { get; }
public:
property String^ ProductName {
    String^ get ();
}
member ProductName : string
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

See Also

Reference

ProvideLoadKeyAttribute Class

ProvideLoadKeyAttribute Members

Microsoft.VisualStudio.Shell Namespace