Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Creates a new key to be used for signing, exporting to a file, and creating a new key container.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function CreateNewKey ( _
szFileLocation As String, _
<OutAttribute> ByRef pbstrFilename As String _
) As Integer
int CreateNewKey(
string szFileLocation,
out string pbstrFilename
)
int CreateNewKey(
[InAttribute] String^ szFileLocation,
[OutAttribute] String^% pbstrFilename
)
abstract CreateNewKey :
szFileLocation:string *
pbstrFilename:string byref -> int
function CreateNewKey(
szFileLocation : String,
pbstrFilename : String
) : int
Parameters
szFileLocation
Type: String[in] The location to save the key file.
pbstrFilename
Type: String%[in] The name of the file in which to store the key.
Return Value
Type: Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
.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.