Property<T> 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
表示服务器配置属性。
generic <typename T>
public ref class Property
public class Property<T>
type Property<'T> = class
Public Class Property(Of T)
类型参数
- T
属性类型。
- 继承
-
Property<T>
构造函数
| 名称 | 说明 |
|---|---|
| Property<T>(ServiceContainer, Setting) |
初始化 Property<T> 类的新实例。 |
属性
| 名称 | 说明 |
|---|---|
| Enabled |
判断该属性是否被启用。 |
| Value |
获取或设置属性值。 |
方法
| 名称 | 说明 |
|---|---|
| SetValueAndSource(Object, InputSettingSource) |
确定属性的值和来源。 |