C# 클래스 OfficeOpenXml.OfficeProperties

Provides access to the properties bag of any office document (i.e. Word, Excel etc.)
파일 보기 프로젝트 열기: ylatuya/EPPlus 1 사용 예제들

공개 메소드들

메소드 설명
GetCustomPropertyValue ( string propertyName ) : object

Gets the value of a custom property

SetCustomPropertyValue ( string propertyName, object value ) : void

Allows you to set the value of a current custom property or create your own custom property.

비공개 메소드들

메소드 설명
GetExtendedPropertyValue ( string propertyName ) : string
GetXmlDocument ( string startXml, Uri uri, string contentType, string relationship ) : XmlDocument
OfficeProperties ( ExcelPackage package, XmlNamespaceManager ns ) : System

Provides access to all the office document properties.

Save ( ) : void

Saves the document properties back to the package.

메소드 상세

GetCustomPropertyValue() 공개 메소드

Gets the value of a custom property
public GetCustomPropertyValue ( string propertyName ) : object
propertyName string The name of the property
리턴 object

SetCustomPropertyValue() 공개 메소드

Allows you to set the value of a current custom property or create your own custom property.
public SetCustomPropertyValue ( string propertyName, object value ) : void
propertyName string The name of the property
value object The value of the property
리턴 void