Share via


VisualBasicCompilationOptions.WithCryptoKeyContainer(String) Method

Definition

Creates a new VisualBasicCompilationOptions instance with a different cryptography key container specified

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

Parameters

name
String

The name of the cryptography key container.

Returns

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

Applies to