Add 方法 (String, Object)
Creates a custom property with a name and value and adds it to the collection.
命名空间: Microsoft.ReportingServices.ReportRendering
程序集: Microsoft.ReportingServices.ProcessingCore(在 Microsoft.ReportingServices.ProcessingCore.dll 中)
语法
声明
Public Sub Add ( _
propertyName As String, _
propertyValue As Object _
)
用法
Dim instance As CustomPropertyCollection
Dim propertyName As String
Dim propertyValue As Object
instance.Add(propertyName, propertyValue)
public void Add(
string propertyName,
Object propertyValue
)
public:
void Add(
String^ propertyName,
Object^ propertyValue
)
member Add :
propertyName:string *
propertyValue:Object -> unit
public function Add(
propertyName : String,
propertyValue : Object
)
参数
- propertyName
类型:System. . :: . .String
The name of the custom property.
- propertyValue
类型:System. . :: . .Object
The value of the custom property.