本文介绍了如何设置某些SpreadsheetDocument属性?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有当前的Office 365,对于在哪里以及如何设置某些属性有疑问:


PackageProperties.ContentType,

PackageProperties.Identifier,

PackageProperties.Language,

PackageProperties.Revision,

PackageProperties .Version,


因为,我正在写一个WPF桌面C# 应用程序需要设置这些属性才能
识别,  类型版本
修订版正在导入的内容。


换句话说,在将内容导入我的应用程序之前,用户需要能够在Excel中设置这些属性。 目的是让他们可以拥有更新的版本和/或内容包含整个内容主题的几个部分。


谢谢!...




代码就像一盒巧克力!...

解决方案

Hi,

I have the current Office 365 and have a question about where is and how to set certain properties:

PackageProperties.ContentType,
PackageProperties.Identifier,
PackageProperties.Language,
PackageProperties.Revision,
PackageProperties.Version,

because, I'm writing a WPF Desktop C# Application requires these properties to be set in order toidentifytype, version andrevision of the content being imported.

In other words, the user needs to be able to set these properties in Excel before importing the content into my application.  The purpose is so they can have updated editions and/or the content has several parts to the whole content subject.

Thanks!...


Code is like a box of chocolates!...

解决方案


这篇关于如何设置某些SpreadsheetDocument属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-16 04:06