指定した名前と値を使用して、コレクションに DeviceInfo オブジェクトを追加します。
名前空間: Microsoft.Reporting.WebForms
アセンブリ: Microsoft.ReportViewer.WebForms (Microsoft.ReportViewer.WebForms.dll)
構文
'宣言
Public Sub Add ( _
name As String, _
value As String _
)
'使用
Dim instance As DeviceInfoCollection
Dim name As String
Dim value As String
instance.Add(name, value)
public void Add(
string name,
string value
)
public:
void Add(
String^ name,
String^ value
)
member Add :
name:string *
value:string -> unit
public function Add(
name : String,
value : String
)
パラメーター
- name
型: System.String
デバイス情報設定の名前。
- value
型: System.String
デバイス情報設定の値。