PersonalizationDictionary.CopyTo(DictionaryEntry[], 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 the personalization dictionary state entries as DictionaryEntry instances into the specified array.
public:
virtual void CopyTo(cli::array <System::Collections::DictionaryEntry> ^ array, int index);
public virtual void CopyTo (System.Collections.DictionaryEntry[] array, int index);
abstract member CopyTo : System.Collections.DictionaryEntry[] * int -> unit
override this.CopyTo : System.Collections.DictionaryEntry[] * int -> unit
Public Overridable Sub CopyTo (array As DictionaryEntry(), index As Integer)
Parameters
- array
- DictionaryEntry[]
The array the DictionaryEntry instances are copied into.
- index
- Int32
The index location at which to begin copying.
Exceptions
array
is multidimensional.
-or-
array
is the wrong size based on the index
parameter.
-or-
array
has insufficient capacity to hold the values contained in the personalization dictionary.
array
is null
.
index
is less than zero.
Remarks
Use this method to create an array of DictionaryEntry instances from the state entries in the personalization dictionary.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈