System.CodeDom.Compiler.TempFileCollection.CopyTo C# (CSharp) Méthode

CopyTo() public méthode

public CopyTo ( string fileNames, int start ) : void
fileNames string
start int
Résultat void
        public void CopyTo(string[] fileNames, int start) => _files.Keys.CopyTo(fileNames, start);

Usage Example

		public void Constructor0_Deny_Unrestricted ()
		{
			TempFileCollection tfc = new TempFileCollection ();
			Assert.AreEqual (0, tfc.Count, "Count");
			Assert.IsFalse (tfc.KeepFiles, "KeepFiles");
			Assert.AreEqual (String.Empty, tfc.TempDir, "TempDir");
			tfc.AddFile ("main.cs", false);
			tfc.CopyTo (array, 0);
			tfc.Delete ();
			(tfc as IDisposable).Dispose ();
		}
All Usage Examples Of System.CodeDom.Compiler.TempFileCollection::CopyTo