X509ExtensionCollection.CopyTo(X509Extension[], Int32) 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.
Copies a collection into an array starting at the specified index.
public:
void CopyTo(cli::array <System::Security::Cryptography::X509Certificates::X509Extension ^> ^ array, int index);
public void CopyTo (System.Security.Cryptography.X509Certificates.X509Extension[] array, int index);
member this.CopyTo : System.Security.Cryptography.X509Certificates.X509Extension[] * int -> unit
Public Sub CopyTo (array As X509Extension(), index As Integer)
Parameters
- array
- X509Extension[]
An array of X509Extension objects.
- index
- Int32
The location in the array at which copying starts.
Exceptions
index
is a zero-length string or contains an invalid value.
index
is null
.
index
specifies a value that is not in the range of the array.
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.