Search Metadata Properties

You can easily search metadata and extract desired metadata properties from PDF, DOCX, PPTX, XLSX, images, audio, video and many other files of different types in your .NET solution by using GroupDocs.Metadata API.

GroupDocs.Metadata for .NET supports many file formats. See full list at supported file formats article.

Use tags to find most common metadata properties

Using tags you can search for desirable properties with a few lines of code without even knowing the exact format of the loaded file.

In this article we will demonstrate how to search and extract metadata from PPTX Microsoft PowerPoint presentation. Using the same code, you can easily search matadata properties of any supported file formats.

The following steps and C# code sample below show how to search for specific metadata properties using tags in .NET solution:

  1. Load a file to examine.
  2. Make up a predicate checking that a specific tag is assigned to a property
  3. Pass the predicate to the FindProperties method
  4. Iterate through the found properties

Example

As a result, we obtain all metadata properties containing the name of the person last edited the document and all properties that store the date/time the document was last edited.