Share via


This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

ResponseCollection.Contains

The Contains method determines whether the specific Response_OCS_ServerApi object exists in the collection.

Syntax

[C#]

public Boolean Contains(
  Response r
);

Syntax

[Visual Basic .NET]

Public Function Contains( _
  ByVal r As Response _
) As Boolean

Parameters

  • r
    A Response object to search for within the collection.

Return Values

Returns true if the specified Response object exists in the collection; false if it does not.

Remarks

Matches are based on the object ID, not header values.

Requirements

Redistributable: Requires Microsoft Office Communications Server 2007.

Namespace:Microsoft.Rtc.Sip Namespace

Assembly: ServerAgent (in ServerAgent.dll)

Concepts

Response_OCS_ServerApi

ResponseCollection