Partager via


IWMPStringCollection2::isIdentical method

[The feature associated with this page, Windows Media Player SDK, is a legacy feature. It has been superseded by MediaPlayer. MediaPlayer has been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer instead of Windows Media Player SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The isIdentical method returns a value indicating whether the object represented by the supplied interface is the same as the current one.

Syntax

public System.Boolean isIdentical(
  IWMPStringCollection2 pIWMPStringCollection2
);

Public Function isIdentical( _
  ByVal pIWMPStringCollection2 As IWMPStringCollection2 _
) As System.Boolean
Implements IWMPStringCollection2.isIdentical

Parameters

pIWMPStringCollection2 [in]

The WMPLib.IWMPStringCollection2 interface that represents the object to compare with current one.

Return value

The System.Boolean that is the result of the comparison. A value of true indicates that the string collection objects are the same.

Remarks

To use this method, read access to the library is required. For more information, see Library Access.

Requirements

Requirement Value
Version
Windows Media Player 11.
Namespace
WMPLib
Assembly
Interop.WMPLib.dll (Interop.WMPLib.dll.dll)

See also

IWMPStringCollection2 Interface (VB and C#)