CustomPropertyCollection.Add 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将自定义属性添加到集合中。
重载
Add(CustomProperty) |
将自定义属性添加到集合中。 |
Add(String, Object) |
用名称和值创建自定义属性,并将其添加到集合中。 |
Add(CustomProperty)
将自定义属性添加到集合中。
public:
void Add(Microsoft::ReportingServices::ReportRendering::CustomProperty ^ property);
public void Add (Microsoft.ReportingServices.ReportRendering.CustomProperty property);
member this.Add : Microsoft.ReportingServices.ReportRendering.CustomProperty -> unit
Public Sub Add (property As CustomProperty)
参数
- property
- CustomProperty
要添加到集合的 CustomProperty 对象。
适用于
Add(String, Object)
用名称和值创建自定义属性,并将其添加到集合中。
public:
void Add(System::String ^ propertyName, System::Object ^ propertyValue);
public void Add (string propertyName, object propertyValue);
member this.Add : string * obj -> unit
Public Sub Add (propertyName As String, propertyValue As Object)
参数
- propertyName
- String
自定义属性的名称。
- propertyValue
- Object
此自定义属性的值。