IXpsOMCoreProperties 介面 (xpsobjectmodel.h)

此介面可讓您存取儲存在 XPS 檔核心屬性部分的中繼資料。

核心屬性部分的內容描述于 標準 ECMA-376、Office Open XML 檔案格式的第 1 版第 2 部分「開放式封裝慣例」中。

繼承

IXpsOMCoreProperties介面繼承自IXpsOMPartIXpsOMCoreProperties 也有下列類型的成員:

方法

IXpsOMCoreProperties介面具有這些方法。

 
IXpsOMCoreProperties::Clone

製作介面的深層複本。 (IXpsOMCoreProperties.Clone)
IXpsOMCoreProperties::GetCategory

取得類別屬性。
IXpsOMCoreProperties::GetContentStatus

取得 contentStatus 屬性。
IXpsOMCoreProperties::GetContentType

取得 contentType 屬性。
IXpsOMCoreProperties::GetCreated

取得已建立的屬性。
IXpsOMCoreProperties::GetCreator

取得建立者屬性。
IXpsOMCoreProperties::GetDescription

取得 description 屬性。
IXpsOMCoreProperties::GetIdentifier

取得識別碼屬性。
IXpsOMCoreProperties::GetKeywords

取得關鍵字屬性。
IXpsOMCoreProperties::GetLanguage

取得語言屬性。
IXpsOMCoreProperties::GetLastModifiedBy

取得 lastModifiedBy 屬性。
IXpsOMCoreProperties::GetLastPrinted

取得 lastPrinted 屬性。
IXpsOMCoreProperties::GetModified

取得修改的屬性。
IXpsOMCoreProperties::GetOwner

取得 IXpsOMPackage 介面的指標,其中包含核心屬性。
IXpsOMCoreProperties::GetRevision

取得修訂屬性。
IXpsOMCoreProperties::GetSubject

取得 subject 屬性。
IXpsOMCoreProperties::GetTitle

取得 title 屬性。
IXpsOMCoreProperties::GetVersion

取得版本屬性。
IXpsOMCoreProperties::SetCategory

設定類別屬性。
IXpsOMCoreProperties::SetContentStatus

設定 contentStatus 屬性。
IXpsOMCoreProperties::SetContentType

設定 contentType 屬性。
IXpsOMCoreProperties::SetCreated

設定已建立的屬性。
IXpsOMCoreProperties::SetCreator

設定建立者屬性。
IXpsOMCoreProperties::SetDescription

設定 description 屬性。
IXpsOMCoreProperties::SetIdentifier

設定識別碼屬性。
IXpsOMCoreProperties::SetKeywords

設定關鍵字屬性。
IXpsOMCoreProperties::SetLanguage

設定語言屬性。
IXpsOMCoreProperties::SetLastModifiedBy

設定 lastModifiedBy 屬性。
IXpsOMCoreProperties::SetLastPrinted

設定 lastPrinted 屬性。
IXpsOMCoreProperties::SetModified

設定修改的屬性。
IXpsOMCoreProperties::SetRevision

設定修訂屬性。
IXpsOMCoreProperties::SetSubject

設定 subject 屬性。
IXpsOMCoreProperties::SetTitle

設定 title 屬性。
IXpsOMCoreProperties::SetVersion

設定 version 屬性。

備註

這些屬性的意義和使用方式取決於使用者或內容。

規格需求

   
最低支援的用戶端 適用于 Windows Vista 的 Windows 7、Windows Vista SP2 和平臺更新 [傳統型應用程式 |UWP 應用程式]
最低支援的伺服器 Windows Server 2008 R2、Windows Server 2008 SP2 和 Platform Update for Windows Server 2008 [傳統型應用程式 |UWP 應用程式]
目標平台 Windows
標頭 xpsobjectmodel.h

另請參閱

IXpsOMObjectFactory::CreateCoreProperties

IXpsOMPart

介面

標準 ECMA-376、Office Open XML 檔案格式

XML Paper Specification