DocumentProperties Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A collection of DocumentProperty objects.
public interface class DocumentProperties : System::Collections::IEnumerable
[System.Runtime.InteropServices.Guid("2DF8D04D-5BFA-101B-BDE5-00AA0044DE52")]
public interface DocumentProperties : System.Collections.IEnumerable
[<System.Runtime.InteropServices.Guid("2DF8D04D-5BFA-101B-BDE5-00AA0044DE52")>]
type DocumentProperties = interface
interface IEnumerable
Public Interface DocumentProperties
Implements IEnumerable
- Attributes
- Implements
Remarks
Each DocumentProperty object represents a built-in or custom property of a container document.
Use the Add(String, Boolean, Object, Object, Object) method to create a new custom property and add it to the DocumentProperties collection. You cannot use the Add method to create a built-in document property.
Use BuiltinDocumentProperties(index
), where index
is the index number of the built-in document property, to return a single DocumentProperty object that represents a specific built-in document property. Use CustomDocumentProperties(index
), where index
is the number of the custom document property, to return a DocumentProperty object that represents a specific custom document property.
Properties
Application |
Returns an Application object that represents the container application for the object. |
Count |
Returns an Integer indicating the number of items in the specified collection. |
Creator |
Returns a 32-bit integer that indicates the application in which the specified object was created. |
Item[Object] |
Returns a DocumentProperty object from the DocumentProperties collection. |
Parent |
Returns the Parent object for the specified object. |
Methods
Add(String, Boolean, Object, Object, Object) |
Creates a new custom document property. |
GetEnumerator() |
Applies to
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기