共用方式為


ReadOnlyNamedDictionary<TValue> Class

Represents a special implementation of IReadOnlyDictionary, where the key is a string.

Inheritance Hierarchy

System.Object
  System.MarshalByRefObject
    Microsoft.SharePoint.BusinessData.Infrastructure.Collections.Client.ReadOnlyDictionary<String, TValue>
      Microsoft.SharePoint.BusinessData.Infrastructure.Collections.Client.ReadOnlyNamedDictionary<TValue>

Namespace:  Microsoft.SharePoint.BusinessData.Infrastructure.Collections.Client
Assembly:  Microsoft.SharePoint.BusinessData.Administration.Client (in Microsoft.SharePoint.BusinessData.Administration.Client.dll)

Syntax

'Declaration
Public Class ReadOnlyNamedDictionary(Of TValue) _
    Inherits ReadOnlyDictionary(Of String, TValue) _
    Implements IReadOnlyNamedDictionary(Of TValue), IReadOnlyDictionary(Of String, TValue),  _
    IReadOnlyCollection(Of KeyValuePair(Of String, TValue)), IEnumerable(Of KeyValuePair(Of String, TValue)),  _
    IEnumerable
'Usage
Dim instance As ReadOnlyNamedDictionary(Of TValue)
public class ReadOnlyNamedDictionary<TValue> : ReadOnlyDictionary<string, TValue>, 
    IReadOnlyNamedDictionary<TValue>, IReadOnlyDictionary<string, TValue>, IReadOnlyCollection<KeyValuePair<string, TValue>>, 
    IEnumerable<KeyValuePair<string, TValue>>, IEnumerable

Type Parameters

  • TValue
    The type of values in the dictionary.

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.

See Also

Reference

ReadOnlyNamedDictionary<TValue> Members

Microsoft.SharePoint.BusinessData.Infrastructure.Collections.Client Namespace