ProvideLoadKeyAttribute.CompanyName Property
Gets the company name.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)
Syntax
'宣言
Public ReadOnly Property CompanyName As String
public string CompanyName { get; }
Property Value
Type: System.String
The name of your company.
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.
CompanyName is the VSIP Partner/creator of the VSPackage. Must exactly match the name you provided to Microsoft when you registered for a PLK. CompanyName is case-sensitive.
.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.