共用方式為


CorsPolicyMetadata.Policy 屬性

定義

需要套用的原則。

public:
 property Microsoft::AspNetCore::Cors::Infrastructure::CorsPolicy ^ Policy { Microsoft::AspNetCore::Cors::Infrastructure::CorsPolicy ^ get(); };
public Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy Policy { get; }
member this.Policy : Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicy
Public ReadOnly Property Policy As CorsPolicy

屬性值

實作

適用於