ConfigurationElementCollection.CopyTo(ConfigurationElement[], Int32) 方法
定义
将 ConfigurationElementCollection 的内容复制到数组。Copies the contents of the ConfigurationElementCollection to an array.
public:
void CopyTo(cli::array <System::Configuration::ConfigurationElement ^> ^ array, int index);
public void CopyTo (System.Configuration.ConfigurationElement[] array, int index);
member this.CopyTo : System.Configuration.ConfigurationElement[] * int -> unit
Public Sub CopyTo (array As ConfigurationElement(), index As Integer)
参数
- array
- ConfigurationElement[]
ConfigurationElementCollection 的内容要复制到的数组。Array to which to copy the contents of the ConfigurationElementCollection.
- index
- Int32
开始复制的索引位置。Index location at which to begin copying.