共用方式為


ExtensionMethods.NotContains Method

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Verifies if the current list does not contain the passed member.

Namespace: Microsoft.EnterpriseManagement
Assembly: Microsoft.EnterpriseManagement.Core (in Microsoft.EnterpriseManagement.Core.dll)

Usage

'Usage
Dim list As IList(Of Guid)
Dim member As Guid
Dim returnValue As Boolean

returnValue = ExtensionMethods.NotContains(list, member)

Syntax

'Declaration
Public Shared Function NotContains ( _
    list As IList(Of Guid), _
    member As Guid _
) As Boolean
public static bool NotContains (
    IList<Guid> list,
    Guid member
)
public:
static bool NotContains (
    IList<Guid>^ list, 
    Guid member
)
public static boolean NotContains (
    IList<Guid> list, 
    Guid member
)
public static function NotContains (
    list : IList<Guid>, 
    member : Guid
) : boolean

Parameters

  • list
    The list in which the member is searched.
  • member
    The member to search.

Return Value

true if the current list does not contain the passed member; otherwise, false.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Vista, Windows Server 2003, and

Target Platforms

Windows Server 2008,Windows Server 2003

See Also

Reference

ExtensionMethods Class
ExtensionMethods Members
Microsoft.EnterpriseManagement Namespace