TextElementCollection<TextElementType>.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 contents of the collection and inserts them into a specified array starting at a specified index position in the array.
public:
virtual void CopyTo(cli::array <TextElementType> ^ array, int arrayIndex);
public void CopyTo (TextElementType[] array, int arrayIndex);
abstract member CopyTo : 'extElementType[] * int -> unit
override this.CopyTo : 'extElementType[] * int -> unit
Public Sub CopyTo (array As TextElementType(), arrayIndex As Integer)
Parameters
- array
- TextElementType[]
A one-dimensional array to which the collection contents will be copied. This array must use zero-based indexing.
- arrayIndex
- Int32
A zero-based index in array
specifying the position at which to begin inserting the copied collection objects.
Implements
Exceptions
Raised when array includes items that are not compatible with the type TextElement, or if arrayIndex specifies a position that falls outside of the bounds of array.
Raised when array is null.
Raised when arrayIndex is less than 0.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示