'Declaration Public Overloads Shadows Property Item( _ ByVal parameterName As String _ ) As SalesforceParameter
public new SalesforceParameter Item( string parameterName ) {get; set;}
Parameters
- parameterName
- The name of the parameter to retrieve.
'Declaration Public Overloads Shadows Property Item( _ ByVal parameterName As String _ ) As SalesforceParameter
public new SalesforceParameter Item( string parameterName ) {get; set;}
public void SearchSalesforceParams() { // ... // create SalesforceParameterCollection myParameters // ... if (!myParameters.Contains("DName")) MessageBox.Show("ERROR: no such parameter in the collection"); else MessageBox.Show("Name: " + myParameters["DName"].ToString() + "Index: " + myParameters.IndexOf("DName").ToString()); }
Public Sub SearchSalesforceParams() ' ... ' create SalesforceParameterCollection myParameters ' ... If Not myParameters.Contains("DName") Then MessageBox.Show("ERROR: no such parameter in the collection") Else MessageBox.Show("Name: " & myParameters("DName").ToString() & _ "Index: " & myParameters.IndexOf("DName").ToString()) End If End Sub
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2