Deutsch » Englisch

Übersetzungen für „Delegat“ im Deutsch » Englisch-Wörterbuch

(Springe zu Englisch » Deutsch)

Beispiele aus dem Internet (nicht von der PONS Redaktion geprüft)

PlayRecordCallback

Dieser Delegat wird nicht verwendet.

Ein Beispiel für die Enumeration der Datensätze einer Metadatei finden Sie unter EnumerateMetafile.

msdn.microsoft.com

PlayRecordCallback

This delegate is not used.

For an example of enumerating the records of a metafile, see EnumerateMetafile.

msdn.microsoft.com

Ebenso ist der Rückgabetyp eines Delegaten kompatibel mit dem Rückgabetyp einer Methode, wenn der Rückgabetyp der Methode restriktiver ist als der Rückgabetyp des Delegaten, da so gewährleistet ist, dass der Rückgabewert der Methode problemlos in den Rückgabetyp des Delegaten umgewandelt werden kann.

Beispielsweise kann ein Delegat mit dem Parametertyp IEnumerable und dem Rückgabetyp Object eine Methode mit dem Parametertyp Object und dem Rückgabetyp IEnumerable darstellen.

Weitere Informationen und Beispielcode finden Sie unter Delegate.CreateDelegate(Type, Object, MethodInfo).

msdn.microsoft.com

Similarly, the return type of a delegate is compatible with the return type of a method if the return type of the method is more restrictive than the return type of the delegate, because this guarantees that the return value of the method can be cast safely to the return type of the delegate.

For example, a delegate that has a parameter of type IEnumerable and a return type of Object can represent a method that has a parameter of type Object and a return value of type IEnumerable.

For more information and example code, see Delegate.CreateDelegate(Type, Object, MethodInfo).

msdn.microsoft.com

objects = strings ;

Eine generische Schnittstelle oder ein generischer Delegat werden als variant bezeichnet, wenn die zugehörigen generischen Parameter als Ko- oder Kontravariante deklariert werden.

Sowohl in C # als auch in Visual Basic können Sie eigene variante Schnittstellen und Delegaten erstellen.

msdn.microsoft.com

objects = strings ;

A generic interface or delegate is called variant if its generic parameters are declared covariant or contravariant.

Both C # and Visual Basic enable you to create your own variant interfaces and delegates.

msdn.microsoft.com

Möchtest du ein Wort, eine Phrase oder eine Übersetzung hinzufügen?

Sende uns gern einen neuen Eintrag.

"Delegat" auf weiteren Sprachen nachschlagen

"Delegat" in den einsprachigen Deutsch-Wörterbüchern


Seite auf Deutsch | Български | Ελληνικά | English | Español | Français | Italiano | Polski | Português | Русский | Slovenščina | Srpski | Türkçe | 中文