IContextProperty 接口

定义

从上下文属性收集命名信息,并确定新上下文是否适合上下文属性。

此 API 支持产品基础结构,不能在代码中直接使用。

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
派生
属性

注解

IContextProperty 接口由由属性参与上下文的属性公开。 默认情况下,它还由 ContextAttribute 基类实现,属性类可从中 Context 扩展。

属性

名称 说明
Name

此 API 支持产品基础结构,不能在代码中直接使用。

获取将添加到上下文中的属性的名称。

方法

名称 说明
Freeze(Context)

此 API 支持产品基础结构,不能在代码中直接使用。

在上下文冻结时调用。

IsNewContextOK(Context)

此 API 支持产品基础结构,不能在代码中直接使用。

返回一个布尔值,该值指示上下文属性是否与新上下文兼容。

适用于