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 SourceDescription
Get the package description
Declaration
string Description { get; }
Property Value
Type | Description |
---|---|
System.String |
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 |
Id
Get the package's identity
Declaration
IPackageIdentity Id { get; }
Property Value
Type | Description |
---|---|
IPackageIdentity |
Title
Get the package title
Declaration
string Title { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceGetMetadataStream()
Package extended metadata
Declaration
Stream GetMetadataStream()
Returns
Type | Description |
---|---|
System.IO.Stream |