CorsPolicy.IsOriginAllowed Właściwość

Definicja

Pobiera lub ustawia funkcję, która ocenia, czy źródło jest dozwolone.

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)

Wartość właściwości

Dotyczy