IEnableCorsAttribute.PolicyName Property    
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The name of the policy which needs to be applied.
public:
 property System::String ^ PolicyName { System::String ^ get(); void set(System::String ^ value); };public string PolicyName { get; set; }public string? PolicyName { get; set; }member this.PolicyName : string with get, setPublic Property PolicyName As String