次の方法で共有


EqualString

Applies to: Lync 2013 | Lync Server 2013

EqualString

The EqualString function determines whether two supplied strings are equal.

Syntax

bool EqualString(
  string string1,
  string string2,
  bool ignoreCase
);

Parameters

  • string1
    A string.

  • string2
    A string to compare to string1.

  • ignoreCase
    Indicates whether case should be ignored when matching. If true, case will be ignored; if false, case will be considered.

Return values

Returns true if string1 and string2 are equal; false if they are not.