次の方法で共有


CustomPropertyCollection.Add メソッド (String, Object)

名前と値を持つカスタム プロパティを作成し、コレクションに追加します。

名前空間:  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
    カスタム プロパティの名前です。
  • propertyValue
    型: System.Object
    カスタム プロパティの値です。

関連項目

参照

CustomPropertyCollection クラス

Add オーバーロード

Microsoft.ReportingServices.ReportRendering 名前空間