Class CopyTranslator | Azure SDK for .NET

A copy activity translator. System.Object CopyTranslator Gets the element that has the specified key in the read-only dictionary. The key to locate. The element that has the specified key in the read-only dictionary.

A copy activity translator.

Inheritance

System.Object

CopyTranslator

Namespace: System.Dynamic.ExpandoObject
Assembly: Azure.Analytics.Synapse.Artifacts.dll
Syntax
public class CopyTranslator : System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IReadOnlyDictionary<string,object>

Constructors

CopyTranslator()

Declaration
public CopyTranslator ();

Properties

Item[String]

Gets the element that has the specified key in the read-only dictionary.

Declaration
public object this[string key] { get; }
Parameters
System.String key

The key to locate.

Property Value
System.Object

The element that has the specified key in the read-only dictionary.

Exceptions
System.ArgumentNullException

key is null.

System.Collections.Generic.KeyNotFoundException

The property is retrieved and key is not found.

Keys

Gets an enumerable collection that contains the keys in the read-only dictionary.

Declaration
public System.Collections.Generic.IEnumerable<string> Keys { get; }
Property Value
System.Collections.Generic.IEnumerable<System.String>

An enumerable collection that contains the keys in the read-only dictionary.

Values

Gets an enumerable collection that contains the values in the read-only dictionary.

Declaration
public System.Collections.Generic.IEnumerable<object> Values { get; }
Property Value
System.Collections.Generic.IEnumerable<System.Object>

An enumerable collection that contains the values in the read-only dictionary.

Methods

ContainsKey(String)

Determines whether the read-only dictionary contains an element that has the specified key.

Declaration
public bool ContainsKey (string key);
Parameters
System.String key

The key to locate.

Returns
System.Boolean

true if the read-only dictionary contains an element that has the specified key; otherwise, false.

Exceptions
System.ArgumentNullException

key is null.

GetEnumerator()

Returns an enumerator that iterates through the collection.

Declaration
public System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<string,object>> GetEnumerator ();
Returns
System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<System.String,System.Object>>

An enumerator that can be used to iterate through the collection.

TryGetValue(String, Object)

Gets the value that is associated with the specified key.

Declaration
public bool TryGetValue (string key, out object value);
Parameters
System.String key

The key to locate.

System.Object value

When this method returns, the value associated with the specified key, if the key is found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.

Returns
System.Boolean

true if the object that implements the System.Collections.Generic.IReadOnlyDictionary interface contains an element that has the specified key; otherwise, false.

Exceptions
System.ArgumentNullException

key is null.

Explicit Interface Implementations

IReadOnlyCollection<KeyValuePair<String,Object>>.Count

Gets the number of elements in the collection.

Declaration
int System.Collections.Generic.IReadOnlyCollection<System.Collections.Generic.KeyValuePair<System.String,System.Object>>.Count { get; }
Returns
System.Int32

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

Declaration
System.Collections.IEnumerator IEnumerable.GetEnumerator ();
Returns
System.Collections.IEnumerator

An System.Collections.IEnumerator object that can be used to iterate through the collection.

ncG1vNJzZmiZqqq%2Fpr%2FDpJuom6Njr627wWeaqKqVY8SqusOorqxmnprBcHDWnplonJ%2Bpu6bAjnqxrqqVY46vrcuyq6Kbo2OgurrAqaqeZnGnwaqywJyrrGdhY31vfIypqZ6umZrEb4OOmqeiZ3GvwrOxjXqlmqSpqbakv42MsKeZoKiyb43RraCfmZOpwG%2BZzp2cpatfdse2vsRneKeZnK7Bqq%2FSZ4qyppGlwKZ6oKurop6RmMG0eqyom56ko2OQsLzYjamapqOhrrW70WefraWc

 Share!