X509Certificate2Collection.GetEnumerator 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.
Returns an enumerator that can iterate through a X509Certificate2Collection object.
public:
System::Security::Cryptography::X509Certificates::X509Certificate2Enumerator ^ GetEnumerator();
public System.Security.Cryptography.X509Certificates.X509Certificate2Enumerator GetEnumerator ();
override this.GetEnumerator : unit -> System.Security.Cryptography.X509Certificates.X509Certificate2Enumerator
Public Function GetEnumerator () As X509Certificate2Enumerator
Returns
An X509Certificate2Enumerator object that can iterate through the X509Certificate2Collection object.
Remarks
Enumerators allow read-only access to data in the collection. Enumerators cannot be used to modify the underlying collection.
Applies to
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.