IExpressibleByDictionaryLiteral<Key,Value>

Overview

Location

  • Reference:
    • Swift.dll  .NET, .NET Standard 2.0
    • swift.jar  Cooper
    • Swift.fx  Island-Android, Island-Ubuntu, Island-WebAssembly-wasm32, Island-Windows
    • Silver.fx  Island-iOS, Island-iOS Simulator, Island-Mac Catalyst, Island-macOS, Island-tvOS, Island-tvOS Simulator, Island-watchOS, Island-watchOS Simulator
    • libSwift.fx  Toffee
  • Namespace: Swift

Required Methods


constructor

 

constructor dictionaryLiteral(params elements: array of not nullable tuple of (not nullable Key, not nullable Value))

 

IExpressibleByDictionaryLiteral<Key,Value> dictionaryLiteral(params (Key!, Value!)![] elements)

 

init(dictionaryLiteral elements: (not nullable Key, not nullable Value)...)

 

IExpressibleByDictionaryLiteral<Key,Value> dictionaryLiteral(Tuple2<Key, Value>[]... elements)

 

Sub New dictionaryLiteral(ParamArray elements As Tuple (Of Key, Value)())

Parameters:

  • elements: