ASP.NET Core MVC Controls | ComponentOne
C1.Web.Mvc.Viewer Namespace / ViewerBase Class / RequestHeaders Property






In This Topic
    RequestHeaders Property (ViewerBase)
    In This Topic
    Gets or sets an object containing request headers to be used when sending or requesting data. The most typical use for this property is in scenarios where authentication is required.
    Syntax
    'Declaration
     
    
    Public Property RequestHeaders As System.Collections.Generic.IDictionary(Of String,Object)
    'Usage
     
    
    Dim instance As ViewerBase
    Dim value As System.Collections.Generic.IDictionary(Of String,Object)
     
    instance.RequestHeaders = value
     
    value = instance.RequestHeaders
    public System.Collections.Generic.IDictionary<string,object> RequestHeaders {get; set;}
    public read-write property RequestHeaders: System.Collections.Generic.IDictionary; 
    public function get,set RequestHeaders : System.Collections.Generic.IDictionary
    public: __property System.Collections.Generic.IDictionary<string*,Object*>* get_RequestHeaders();
    public: __property void set_RequestHeaders( 
       System.Collections.Generic.IDictionary<string*,Object*>* value
    );
    public:
    property System.Collections.Generic.IDictionary<String^,Object^>^ RequestHeaders {
       System.Collections.Generic.IDictionary<String^,Object^>^ get();
       void set (    System.Collections.Generic.IDictionary<String^,Object^>^ value);
    }
    See Also