ServiceModelExtensionCollectionElement<TServiceModelExtensionElement>.CopyTo 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 the entire collection to a compatible one-dimensional array, starting at the specified index of the target array. This method cannot be inherited.
public:
virtual void CopyTo(cli::array <TServiceModelExtensionElement> ^ elements, int start);
public void CopyTo (TServiceModelExtensionElement[] elements, int start);
abstract member CopyTo : 'ServiceModelExtensionElement[] * int -> unit
override this.CopyTo : 'ServiceModelExtensionElement[] * int -> unit
Public Sub CopyTo (elements As TServiceModelExtensionElement(), start As Integer)
Parameters
- elements
- TServiceModelExtensionElement[]
A one-dimensional array that is the destination of the elements copied from collection. The array must have zero-based.
- start
- Int32
The zero-based index in the elements
array at which copying begins.
Implements
Exceptions
element
is null
.
start
is invalid.
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.