CorsPolicy.IsOriginAllowed Propriété

Définition

Obtient ou définit une fonction qui évalue si une origine est autorisée.

public:
 property Func<System::String ^, bool> ^ IsOriginAllowed { Func<System::String ^, bool> ^ get(); void set(Func<System::String ^, bool> ^ value); };
public Func<string,bool> IsOriginAllowed { get; set; }
member this.IsOriginAllowed : Func<string, bool> with get, set
Public Property IsOriginAllowed As Func(Of String, Boolean)

Valeur de propriété

S’applique à