VisualBasicCompilationOptions.WithCryptoKeyContainer(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.