X509CertificateCollection.Add(X509Certificate) 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.
Adds an X509Certificate with the specified value to the current X509CertificateCollection.
public:
int Add(System::Security::Cryptography::X509Certificates::X509Certificate ^ value);
public int Add (System.Security.Cryptography.X509Certificates.X509Certificate value);
member this.Add : System.Security.Cryptography.X509Certificates.X509Certificate -> int
Public Function Add (value As X509Certificate) As Integer
Parameters
- value
- X509Certificate
The X509Certificate to add to the current X509CertificateCollection.
Returns
The index into the current X509CertificateCollection at which the new X509Certificate was inserted.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.