Redigera

Dela via


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
public interface IContextProperty
[System.Runtime.InteropServices.ComVisible(true)]
public interface IContextProperty
type IContextProperty = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
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

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

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

Methods

Freeze(Context)

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

Called when the context is frozen.

IsNewContextOK(Context)

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

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

Applies to