System.Data.Tests.DataRowViewTest.CreateChildViewNonExistentName C# (CSharp) Méthode

CreateChildViewNonExistentName() private méthode

private CreateChildViewNonExistentName ( ) : void
Résultat void
        public void CreateChildViewNonExistentName()
        {
            Assert.Throws<ArgumentException>(() =>
            {
                DataView dv = CreateTestView();
                DataRowView dvr = dv[0];
                dvr.CreateChildView("nothing");
            });
        }