Share via


VisualBasicCompilationOptions.WithCryptoKeyFile(String) Method

Definition

Creates a new VisualBasicCompilationOptions instance with a different cryptography key file path specified.

public:
 Microsoft::CodeAnalysis::VisualBasic::VisualBasicCompilationOptions ^ WithCryptoKeyFile(System::String ^ path);
public Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions WithCryptoKeyFile (string path);
override this.WithCryptoKeyFile : string -> Microsoft.CodeAnalysis.VisualBasic.VisualBasicCompilationOptions
Public Function WithCryptoKeyFile (path As String) As VisualBasicCompilationOptions

Parameters

path
String

The cryptography key file path.

Returns

A new instance of VisualBasicCompilationOptions, if the cryptography key path is different; otherwise current instance.

Applies to