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

属性值

实现

适用于