IDynamicProperty 接口

定义

指示实现的属性应该在运行时通过 RegisterDynamicProperty(IDynamicProperty, ContextBoundObject, Context) 方法注册。Indicates that the implementing property should be registered at runtime through the RegisterDynamicProperty(IDynamicProperty, ContextBoundObject, Context) method.

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

public interface class IDynamicProperty
public interface IDynamicProperty
[System.Runtime.InteropServices.ComVisible(true)]
public interface IDynamicProperty
type IDynamicProperty = interface
[<System.Runtime.InteropServices.ComVisible(true)>]
type IDynamicProperty = interface
Public Interface IDynamicProperty
属性

注解

如果动态属性 IContributeDynamicSink 要提供动态接收器,则它们也必须公开接口。Dynamic properties must also expose the IContributeDynamicSink interface if they want to provide dynamic sinks.

属性

Name

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

获取动态属性的名称。Gets the name of the dynamic property.

适用于