RegistrationAttribute.GetPackageRegKeyPath Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Gets the registry path (relative to the registry root of the application) of the VSPackage.
Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell.Immutable.10.0 (in Microsoft.VisualStudio.Shell.Immutable.10.0.dll)
Syntax
'宣言
Protected Function GetPackageRegKeyPath ( _
package As Guid _
) As String
'使用
Dim package As Guid
Dim returnValue As String
returnValue = Me.GetPackageRegKeyPath(package)
protected string GetPackageRegKeyPath(
Guid package
)
protected:
String^ GetPackageRegKeyPath(
Guid package
)
member GetPackageRegKeyPath :
package:Guid -> string
protected function GetPackageRegKeyPath(
package : Guid
) : String
Parameters
- package
Type: System.Guid
The GUID of the VSPackage.
Return Value
Type: System.String
.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.