InterpolatedStringHandlerArgumentAttribute Klasa

Definicja

Wskazuje, które argumenty do metody obejmującej interpolowaną procedurę obsługi ciągów powinny być przekazywane do tej procedury obsługi.

public ref class InterpolatedStringHandlerArgumentAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=false)]
public sealed class InterpolatedStringHandlerArgumentAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Parameter, AllowMultiple=false, Inherited=false)>]
type InterpolatedStringHandlerArgumentAttribute = class
    inherit Attribute
Public NotInheritable Class InterpolatedStringHandlerArgumentAttribute
Inherits Attribute
Dziedziczenie
InterpolatedStringHandlerArgumentAttribute
Atrybuty

Konstruktory

InterpolatedStringHandlerArgumentAttribute(String)

Inicjuje nowe wystąpienie klasy InterpolatedStringHandlerArgumentAttribute.

InterpolatedStringHandlerArgumentAttribute(String[])

Inicjuje nowe wystąpienie klasy InterpolatedStringHandlerArgumentAttribute.

Właściwości

Arguments

Pobiera nazwy argumentów, które powinny zostać przekazane do programu obsługi.

TypeId

Po zaimplementowaniu w klasie pochodnej pobiera unikatowy identyfikator dla tego Attributeelementu .

(Odziedziczone po Attribute)

Metody

Equals(Object)

Zwraca wartość wskazującą, czy to wystąpienie jest równe podanemu obiektowi.

(Odziedziczone po Attribute)
GetHashCode()

Zwraca wartość skrótu dla tego wystąpienia.

(Odziedziczone po Attribute)
GetType()

Type Pobiera wartość bieżącego wystąpienia.

(Odziedziczone po Object)
IsDefaultAttribute()

Podczas zastępowania w klasie pochodnej wskazuje, czy wartość tego wystąpienia jest wartością domyślną dla klasy pochodnej.

(Odziedziczone po Attribute)
Match(Object)

Po przesłonięciu w klasie pochodnej zwraca wartość wskazującą, czy to wystąpienie jest równe określonemu obiektowi.

(Odziedziczone po Attribute)
MemberwiseClone()

Tworzy płytkią kopię bieżącego Objectelementu .

(Odziedziczone po Object)
ToString()

Zwraca ciąg reprezentujący bieżący obiekt.

(Odziedziczone po Object)

Dotyczy