Partager via


SmsNamedValuesDictionary Constructor (Generic IEqualityComparer)

Initializes a new instance of SmsNamedValuesDictionary for the specified comparer.

Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

'Usage
Dim comparer As IEqualityComparer(Of String)

Dim instance As New SmsNamedValuesDictionary(comparer)

Syntax

'Declaration
Public Sub New ( _
    comparer As IEqualityComparer(Of String) _
)
public SmsNamedValuesDictionary (
    IEqualityComparer<string> comparer
)
public:
SmsNamedValuesDictionary (
    IEqualityComparer<String^>^ comparer
)
public SmsNamedValuesDictionary (
    IEqualityComparer<String> comparer
)
public function SmsNamedValuesDictionary (
    comparer : IEqualityComparer<String>
)

Parameters

  • comparer
    [in] System.Collections.Generic.IEqualityComparer object that identifies a comparer.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also

Reference

SmsNamedValuesDictionary Class
SmsNamedValuesDictionary Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace