コード例 #1
0
        public void TestDeleteSlidesDocumentProperty()
        {
            SlidesApi target = new SlidesApi(APIKEY, APPSID, BASEPATH);
            StorageApi storageApi = new StorageApi(APIKEY, APPSID, BASEPATH);

            string name = "test_slide.pptx";
            string propertyName = "Author"; 
            string folder = null; 
            string storage = null; 

            storageApi.PutCreate(name, null, null, System.IO.File.ReadAllBytes("\\temp\\slides\\resources\\" + name)); 

            CommonResponse actual;
            actual = target.DeleteSlidesDocumentProperty(name, propertyName, folder, storage);

            Assert.AreEqual("200", actual.Code);
            Assert.IsInstanceOfType(new Com.Aspose.Slides.Model.CommonResponse(), actual.GetType()); 
        }