SyncParameterCollection.Add Method (String, Object)
Adds a SyncParameter to the end of the collection when given a parameter name and value.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)
Syntax
'Declaration
Public Function Add ( _
parameterName As String, _
parameterValue As Object _
) As SyncParameter
'Usage
Dim instance As SyncParameterCollection
Dim parameterName As String
Dim parameterValue As Object
Dim returnValue As SyncParameter
returnValue = instance.Add(parameterName, parameterValue)
public SyncParameter Add (
string parameterName,
Object parameterValue
)
public:
SyncParameter^ Add (
String^ parameterName,
Object^ parameterValue
)
public SyncParameter Add (
String parameterName,
Object parameterValue
)
public function Add (
parameterName : String,
parameterValue : Object
) : SyncParameter
Parameters
- parameterName
The name of the SyncParameter object to add to the SyncParameterCollection.
- parameterValue
The value of the SyncParameter object to add to the SyncParameterCollection.
Return Value
A SyncParameter object for the parameter and value added.
See Also
Reference
SyncParameterCollection Class
SyncParameterCollection Members
Microsoft.Synchronization.Data Namespace