Show / Hide Table of Contents

Interface IPackage

Generic interface for inspecting metadata associated with updates originating from Microsoft Update. Objects that implement this interfaces should be cast to their specialized types to obtain type specific metadata.

Namespace: Microsoft.PackageGraph.ObjectModel
Assembly: package-graph-microsoft-update.dll
Syntax
public interface IPackage

Properties

| Improve this Doc View Source

Description

Get the package description

Declaration
string Description { get; }
Property Value
Type Description
System.String
| Improve this Doc View Source

Files

Gets the list of files (content) for a package

Declaration
IEnumerable<IContentFile> Files { get; }
Property Value
Type Description
System.Collections.Generic.IEnumerable<IContentFile>

List of content files

| Improve this Doc View Source

Id

Get the package's identity

Declaration
IPackageIdentity Id { get; }
Property Value
Type Description
IPackageIdentity
| Improve this Doc View Source

Title

Get the package title

Declaration
string Title { get; }
Property Value
Type Description
System.String

Methods

| Improve this Doc View Source

GetMetadataStream()

Package extended metadata

Declaration
Stream GetMetadataStream()
Returns
Type Description
System.IO.Stream
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX