OleDocumentProperties oOleDocumentProperties = new OleDocumentProperties(); oOleDocumentProperties.Open(@"C:\Users\test\yrdy\mbam.exe", false, DSOFile.dsoFileOpenOptions.dsoOptionDefault); DSOFile.CustomProperty test; DSOFile.SummaryProperties summaryProperties; oOleDocumentProperties.SummaryProperties.Title = "diggisx"; object obj = "test"; //oOleDocumentProperties.CustomProperties.Add("Digvijay", ref obj); //oOleDocumentProperties.Save(); //oOleDocumentProperties.Close(true); summaryProperties = oOleDocumentProperties.SummaryProperties; Console.WriteLine(summaryProperties.Title); //foreach (DSOFile.CustomProperty property in oOleDocumentProperties.CustomProperties) //{ // Console.WriteLine(string.Format("Value for key \"{0}\": {1} ", property.Name, property.get_Value())); //} Console.ReadLine();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)