IContextProperty IContextProperty IContextProperty IContextProperty Interface

Definition

Gathers naming information from the context property and determines whether the new context is ok for the context property.

This API supports the product infrastructure and is not intended to be used directly from your code.

public interface class IContextProperty
[System.Runtime.InteropServices.ComVisible(true)]
public interface IContextProperty
type IContextProperty = interface
Public Interface IContextProperty
Derived
Attributes

Remarks

The IContextProperty interface is exposed by the property contributed to a context by an attribute. By default, it is also implemented by the ContextAttribute base class, from which Context attribute classes can extend.

Properties

Name Name Name Name

Gets the name of the property under which it will be added to the context.

Methods

Freeze(Context) Freeze(Context) Freeze(Context) Freeze(Context)

Called when the context is frozen.

IsNewContextOK(Context) IsNewContextOK(Context) IsNewContextOK(Context) IsNewContextOK(Context)

Returns a Boolean value indicating whether the context property is compatible with the new context.

Applies to