CustomPropertyCollection.Add Method (String, Object)
Creates a custom property with a name and value and adds it to the collection.
命名空間: Microsoft.ReportingServices.ReportRendering
組件: Microsoft.ReportingServices.ProcessingCore (in microsoft.reportingservices.processingcore.dll)
語法
'宣告
Public Sub Add ( _
propertyName As String, _
propertyValue As Object _
)
public void Add (
string propertyName,
Object propertyValue
)
public:
void Add (
String^ propertyName,
Object^ propertyValue
)
public void Add (
String propertyName,
Object propertyValue
)
public function Add (
propertyName : String,
propertyValue : Object
)
參數
- propertyName
The name of the custom property.
- propertyValue
The value of the custom property.
備註
新增:2005 年 12 月 5 日
執行緒安全性
Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
平台
開發平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
目標平台
如需受支援的平台清單,請參閱<安裝 SQL Server 2005 的硬體和軟體需求>。
請參閱
參考
CustomPropertyCollection Class
CustomPropertyCollection Members
Microsoft.ReportingServices.ReportRendering Namespace