Delen via


DeviceInfoCollection.Add Method (String, String)

Adds a DeviceInfo object to the collection using the specified name and value.

Namespace: Microsoft.Reporting.WebForms
Assembly: Microsoft.ReportViewer.WebForms (in microsoft.reportviewer.webforms.dll)

Syntax

'Declaration
Public Sub Add ( _
    name As String, _
    value As String _
)
'Usage
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
)
public void Add (
    String name, 
    String value
)
public function Add (
    name : String, 
    value : String
)

Parameters

  • name
    The name of the device information setting.
  • value
    The value of the device information setting.

See Also

Reference

DeviceInfoCollection Class
DeviceInfoCollection Members
Microsoft.Reporting.WebForms Namespace