IRemoteArgumentArrayListContract.IndexOf(RemoteArgument) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns the zero-based index of the first occurrence of a specified RemoteArgument in the IRemoteArgumentArrayListContract.
public:
int IndexOf(System::AddIn::Contract::RemoteArgument item);
public int IndexOf (System.AddIn.Contract.RemoteArgument item);
abstract member IndexOf : System.AddIn.Contract.RemoteArgument -> int
Public Function IndexOf (item As RemoteArgument) As Integer
Parameters
- item
- RemoteArgument
The RemoteArgument to locate in the IRemoteArgumentArrayListContract.
Returns
The zero-based index of the first occurrence of item
in the IRemoteArgumentArrayListContract, if found; otherwise, -1.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.