The below function has to be put within my common functions file in app_code folder. how do I do it?
It gives error like this: Reference to a non-shared member requires an object reference
Public Sub setHeadTags(ByVal title As String, ByVal description As String, ByVal keywords As String)
 Dim metaDescription As HtmlMeta = DirectCast(Page.Master.FindControl("metaDescription"), HtmlMeta)
 Dim metaKeywords As HtmlMeta = DirectCast(Page.Master.FindControl("metaKeywords"), HtmlMeta)
 metaDescription.Attributes.Add("content", "My big content description")
 metaKeywords.Attributes.Add("content", "all, are, my, keywords")
 Dim pageTitle As HtmlTitle = DirectCast(Page.Master.FindControl("pageTitle"), HtmlTitle)
 pageTitle.Text = "Hey hey heY"
End Sub