PackageAttribute Class
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.
Added to an INavigateToItemProviderFactory implementation to specify the package it depends on. The INavigateToItemProviderFactory will only be loaded if the specified package is loaded.
public ref class PackageAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)]
[System.ComponentModel.Composition.MetadataAttribute]
public sealed class PackageAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type PackageAttribute = class
inherit Attribute
Public NotInheritable Class PackageAttribute
Inherits Attribute
- Inheritance
-
PackageAttribute
- Attributes
Constructors
PackageAttribute(String) |
Creates a new PackageAttribute. |
Properties
Guid |
The unique identifier of the dependency package. |