System.Collections.Generic.KeyValuePair<TKey,TValue> Extension

Location

  • Reference: Swift.dll
  • Namespace: Swift
  • Extends: System.Collections.Generic.KeyValuePair<TKey,TValue>
  • Platforms: .NET, .NET Standard 2.0

Instance Methods


GetTuple

 

// .NET
method GetTuple: not nullable tuple of (not nullable TKey, not nullable TValue)
// .NET Standard 2.0
method GetTuple: not nullable ValueTuple<not nullable TKey, not nullable TValue>

 

// .NET
(not nullable TKey, not nullable TValue)! GetTuple()
// .NET Standard 2.0
ValueTuple<TKey!, TValue!>! GetTuple()

 

// .NET
func GetTuple() -> (not nullable TKey, not nullable TValue)
// .NET Standard 2.0
func GetTuple() -> ValueTuple<TKey, TValue>