AppliesToUIContextAttribute Class

Definition

Adds UIContext metadata to a MEF export to indicate when this export should be applied.

[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=true)]
[System.ComponentModel.Composition.MetadataAttribute]
public sealed class AppliesToUIContextAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Field | System.AttributeTargets.Method | System.AttributeTargets.Property, AllowMultiple=true)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type AppliesToUIContextAttribute = class
    inherit Attribute
Public NotInheritable Class AppliesToUIContextAttribute
Inherits Attribute
Inheritance
AppliesToUIContextAttribute
Attributes

Constructors

AppliesToUIContextAttribute(String)

Initializes a new instance of the AppliesToUIContextAttribute class.

Properties

UIContextGuid

Gets the UI context GUID.

Applies to