{"id":194,"date":"2017-02-13T14:37:23","date_gmt":"2017-02-13T22:37:23","guid":{"rendered":"http:\/\/vicds.myds.me\/wordpress\/?p=194"},"modified":"2021-06-03T17:42:07","modified_gmt":"2021-06-04T00:42:07","slug":"copy-menuitems","status":"publish","type":"post","link":"https:\/\/www.vscrypt.com\/copy-menuitems\/","title":{"rendered":"Copy menu items to another while still using existing methods"},"content":{"rendered":"\n<p>Being a lazy programmer, I rarely write something twice. &nbsp;One instance of this was when I wanted to put items from a drop-down menu into a context menu but I didn&#8217;t want to copy them manually and attach to the same methods because I didn&#8217;t want to update the context menu&nbsp;every time that drop-down menu changed manually. &nbsp;So, I researched the web to see what the best way was to copy the drop-down menu items I wanted dynamically when my application loaded and still use the existing methods. &nbsp;As you can imagine, I found numerous ways of accomplishing the task. &nbsp;I picked the following method because it was the simplest. &nbsp;Obviously, it is not the only way but I thought it would be helpful to others if shared it.<\/p>\n\n\n\n<p>Let&#8217;s say I have a drop-down menu (or any menu) that looks like the following:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a  href=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2017\/02\/2017-02-07_13-00-29.jpg\" data-rel=\"lightbox-gallery-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"153\" height=\"110\" src=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2017\/02\/2017-02-07_13-00-29.jpg\" alt=\"\" class=\"wp-image-212\"\/><\/a><\/figure>\n\n\n\n<p>And I have a context menu that looks like the following:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a  href=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2017\/02\/2017-02-07_12-59-55.jpg\" data-rel=\"lightbox-gallery-0\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\"><img loading=\"lazy\" decoding=\"async\" width=\"153\" height=\"73\" src=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2017\/02\/2017-02-07_12-59-55.jpg\" alt=\"\" class=\"wp-image-213\" srcset=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2017\/02\/2017-02-07_12-59-55.jpg 153w, https:\/\/www.vscrypt.com\/wp-content\/uploads\/2017\/02\/2017-02-07_12-59-55-150x73.jpg 150w\" sizes=\"auto, (max-width: 153px) 100vw, 153px\" \/><\/a><\/figure>\n\n\n\n<p>And I want to copy the items from the drop-down menu to the context menu after the separator when the application loads. &nbsp;I also do not want to rewrite the methods for the items in the drop-down menu.<\/p><div id=\"vscry-1\" class=\"vscry-content\"><script async src=\"\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-0201055796701118\" crossorigin=\"anonymous\"><\/script><ins class=\"adsbygoogle\" style=\"display:block; text-align:center;\" data-ad-client=\"ca-pub-0201055796701118\" \ndata-ad-slot=\"1379369629\" \ndata-ad-layout=\"in-article\"\ndata-ad-format=\"fluid\"><\/ins>\n<script> \n(adsbygoogle = window.adsbygoogle || []).push({}); \n<\/script>\n<\/div>\n\n\n\n<p>The following <code>foreach<\/code> loop in the main form load event will copy all dropdown menu items and add them to the context menu. &nbsp;The <code>ExecuteMethod<\/code> method will determine which menu item was clicked and perform the click action for the original menu item (so you don&#8217;t have to write or link it again). &nbsp;You can also add conditions in the <code>foreach<\/code> loop to limit which dropdown items are copied. &nbsp;But that depends on which property you wish to use for conditions.<\/p>\n\n\n<pre class=\"wp-block-code\" aria-describedby=\"shcb-language-1\" data-shcb-language-name=\"C#\" data-shcb-language-slug=\"cs\"><span><code class=\"hljs language-cs shcb-code-table shcb-line-numbers shcb-wrap-lines\"><span class='shcb-loc'><span><span class=\"hljs-function\"><span class=\"hljs-keyword\">private<\/span> <span class=\"hljs-keyword\">void<\/span> <span class=\"hljs-title\">MainForm_Load<\/span>(<span class=\"hljs-params\"><span class=\"hljs-keyword\">object<\/span> sender, EventArgs e<\/span>)<\/span>\n<\/span><\/span><span class='shcb-loc'><span>{\n<\/span><\/span><span class='shcb-loc'><span>     <span class=\"hljs-comment\">\/\/ Loop through all dropdown menu items<\/span>\n<\/span><\/span><span class='shcb-loc'><span>     <span class=\"hljs-keyword\">foreach<\/span> (ToolStripMenuItem myItem <span class=\"hljs-keyword\">in<\/span> fileToolStripMenuItem.DropDownItems) {\n<\/span><\/span><span class='shcb-loc'><span>          <span class=\"hljs-comment\">\/\/ Define a temporary dropdown item<\/span>\n<\/span><\/span><span class='shcb-loc'><span>          ToolStripMenuItem tmpItem = <span class=\"hljs-keyword\">new<\/span> ToolStripMenuItem();\n<\/span><\/span><span class='shcb-loc'><span>\n<\/span><\/span><span class='shcb-loc'><span>          <span class=\"hljs-comment\">\/\/ Copy dropdown item name and append text Copy<\/span>\n<\/span><\/span><span class='shcb-loc'><span>          tmpItem.Name = myItem.Name + <span class=\"hljs-string\">\"Copy\"<\/span>;\n<\/span><\/span><span class='shcb-loc'><span>\n<\/span><\/span><span class='shcb-loc'><span>          <span class=\"hljs-comment\">\/\/ Copy dropdown item text<\/span>\n<\/span><\/span><span class='shcb-loc'><span>          tmpItem.Text = myItem.Text;\n<\/span><\/span><span class='shcb-loc'><span>\n<\/span><\/span><span class='shcb-loc'><span>          <span class=\"hljs-comment\">\/\/ Copy downdown item image if necessary<\/span>\n<\/span><\/span><span class='shcb-loc'><span>          tmpItem.Image = myItem.Image;\n<\/span><\/span><span class='shcb-loc'><span>\n<\/span><\/span><span class='shcb-loc'><span>          <span class=\"hljs-comment\">\/\/ Assign the click action to the ExecuteMethod method below<\/span>\n<\/span><\/span><span class='shcb-loc'><span>          tmpItem.Click += ExecuteMethod;\n<\/span><\/span><span class='shcb-loc'><span>\n<\/span><\/span><span class='shcb-loc'><span>          <span class=\"hljs-comment\">\/\/ Add the copy menu item to the context menu<\/span>\n<\/span><\/span><span class='shcb-loc'><span>          contextMenuStrip1.Items.Add(tmpItem);\n<\/span><\/span><span class='shcb-loc'><span>     }\n<\/span><\/span><span class='shcb-loc'><span>}\n<\/span><\/span><span class='shcb-loc'><span>\n<\/span><\/span><span class='shcb-loc'><span><span class=\"hljs-function\"><span class=\"hljs-keyword\">private<\/span> <span class=\"hljs-keyword\">void<\/span> <span class=\"hljs-title\">ExecuteMethod<\/span>(<span class=\"hljs-params\"><span class=\"hljs-keyword\">object<\/span> sender, EventArgs e<\/span>)<\/span>\n<\/span><\/span><span class='shcb-loc'><span>{\n<\/span><\/span><span class='shcb-loc'><span>     <span class=\"hljs-comment\">\/\/ When a context menu item is clicked, retrieve its name removing the appended text<\/span>\n<\/span><\/span><span class='shcb-loc'><span>     <span class=\"hljs-keyword\">string<\/span> MenuItem = ((ToolStripMenuItem)sender).Name.Replace(<span class=\"hljs-string\">\"Copy\"<\/span>, <span class=\"hljs-string\">\"\"<\/span>);\n<\/span><\/span><span class='shcb-loc'><span>\n<\/span><\/span><span class='shcb-loc'><span>     <span class=\"hljs-comment\">\/\/ Use the retrieved name to get the menu item from the original menu<\/span>\n<\/span><\/span><span class='shcb-loc'><span>     ToolStripItem ClickedMenu = fileToolStripMenuItem.DropDownItems&#91;MenuItem];\n<\/span><\/span><span class='shcb-loc'><span>     <span class=\"hljs-keyword\">if<\/span> (ClickedMenu.Enabled == <span class=\"hljs-literal\">true<\/span>) {\n<\/span><\/span><span class='shcb-loc'><span>          <span class=\"hljs-comment\">\/\/ If the menu is enabled then perform the click action<\/span>\n<\/span><\/span><span class='shcb-loc'><span>          ClickedMenu.PerformClick();\n<\/span><\/span><span class='shcb-loc'><span>     }\n<\/span><\/span><span class='shcb-loc'><span>}\n<\/span><\/span><\/code><\/span><small class=\"shcb-language\" id=\"shcb-language-1\"><span class=\"shcb-language__label\">Code language:<\/span> <span class=\"shcb-language__name\">C#<\/span> <span class=\"shcb-language__paren\">(<\/span><span class=\"shcb-language__slug\">cs<\/span><span class=\"shcb-language__paren\">)<\/span><\/small><\/pre>\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Being a lazy programmer, I rarely write something twice. &nbsp;One instance of this was when I wanted to put items from a drop-down menu into &hellip; <\/p>\n","protected":false},"author":1,"featured_media":216,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[45,44],"tags":[119,120,59],"class_list":["post-194","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cs","category-code","tag-c-net","tag-copy-menu-item","tag-menu-item"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.0 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Copy menu items to another while still using existing methods - VScrypt<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.vscrypt.com\/copy-menuitems\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Copy menu items to another while still using existing methods - VScrypt\" \/>\n<meta property=\"og:description\" content=\"Being a lazy programmer, I rarely write something twice. &nbsp;One instance of this was when I wanted to put items from a drop-down menu into &hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.vscrypt.com\/copy-menuitems\/\" \/>\n<meta property=\"og:site_name\" content=\"VScrypt\" \/>\n<meta property=\"article:published_time\" content=\"2017-02-13T22:37:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-06-04T00:42:07+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2017\/02\/header.png\" \/>\n\t<meta property=\"og:image:width\" content=\"427\" \/>\n\t<meta property=\"og:image:height\" content=\"303\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Vikram\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Vikram\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.vscrypt.com\/copy-menuitems\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.vscrypt.com\/copy-menuitems\/\"},\"author\":{\"name\":\"Vikram\",\"@id\":\"https:\/\/www.vscrypt.com\/#\/schema\/person\/855a3e6d9310019d20f2da32115df36a\"},\"headline\":\"Copy menu items to another while still using existing methods\",\"datePublished\":\"2017-02-13T22:37:23+00:00\",\"dateModified\":\"2021-06-04T00:42:07+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.vscrypt.com\/copy-menuitems\/\"},\"wordCount\":292,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.vscrypt.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.vscrypt.com\/copy-menuitems\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2017\/02\/header.png\",\"keywords\":[\"C#.NET\",\"Copy Menu Item\",\"menu item\"],\"articleSection\":[\"C# .NET\",\"Code\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.vscrypt.com\/copy-menuitems\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.vscrypt.com\/copy-menuitems\/\",\"url\":\"https:\/\/www.vscrypt.com\/copy-menuitems\/\",\"name\":\"Copy menu items to another while still using existing methods - VScrypt\",\"isPartOf\":{\"@id\":\"https:\/\/www.vscrypt.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.vscrypt.com\/copy-menuitems\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.vscrypt.com\/copy-menuitems\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2017\/02\/header.png\",\"datePublished\":\"2017-02-13T22:37:23+00:00\",\"dateModified\":\"2021-06-04T00:42:07+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.vscrypt.com\/copy-menuitems\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.vscrypt.com\/copy-menuitems\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.vscrypt.com\/copy-menuitems\/#primaryimage\",\"url\":\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2017\/02\/header.png\",\"contentUrl\":\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2017\/02\/header.png\",\"width\":427,\"height\":303},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.vscrypt.com\/copy-menuitems\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.vscrypt.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Copy menu items to another while still using existing methods\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.vscrypt.com\/#website\",\"url\":\"https:\/\/www.vscrypt.com\/\",\"name\":\"VScrypt\",\"description\":\"Helpful scripts, snippets and guides...\",\"publisher\":{\"@id\":\"https:\/\/www.vscrypt.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.vscrypt.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.vscrypt.com\/#organization\",\"name\":\"VScrypt\",\"url\":\"https:\/\/www.vscrypt.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.vscrypt.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2019\/01\/logo-1.png\",\"contentUrl\":\"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2019\/01\/logo-1.png\",\"width\":200,\"height\":80,\"caption\":\"VScrypt\"},\"image\":{\"@id\":\"https:\/\/www.vscrypt.com\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.vscrypt.com\/#\/schema\/person\/855a3e6d9310019d20f2da32115df36a\",\"name\":\"Vikram\",\"description\":\"I am just an IT person trying to share as much knowledge as possible hoping someone will find it helpful. It just takes time to organize everything from my head into something that makes sense.\",\"url\":\"https:\/\/www.vscrypt.com\/author\/vchand\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Copy menu items to another while still using existing methods - VScrypt","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.vscrypt.com\/copy-menuitems\/","og_locale":"en_US","og_type":"article","og_title":"Copy menu items to another while still using existing methods - VScrypt","og_description":"Being a lazy programmer, I rarely write something twice. &nbsp;One instance of this was when I wanted to put items from a drop-down menu into &hellip;","og_url":"https:\/\/www.vscrypt.com\/copy-menuitems\/","og_site_name":"VScrypt","article_published_time":"2017-02-13T22:37:23+00:00","article_modified_time":"2021-06-04T00:42:07+00:00","og_image":[{"width":427,"height":303,"url":"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2017\/02\/header.png","type":"image\/png"}],"author":"Vikram","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Vikram","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.vscrypt.com\/copy-menuitems\/#article","isPartOf":{"@id":"https:\/\/www.vscrypt.com\/copy-menuitems\/"},"author":{"name":"Vikram","@id":"https:\/\/www.vscrypt.com\/#\/schema\/person\/855a3e6d9310019d20f2da32115df36a"},"headline":"Copy menu items to another while still using existing methods","datePublished":"2017-02-13T22:37:23+00:00","dateModified":"2021-06-04T00:42:07+00:00","mainEntityOfPage":{"@id":"https:\/\/www.vscrypt.com\/copy-menuitems\/"},"wordCount":292,"commentCount":0,"publisher":{"@id":"https:\/\/www.vscrypt.com\/#organization"},"image":{"@id":"https:\/\/www.vscrypt.com\/copy-menuitems\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2017\/02\/header.png","keywords":["C#.NET","Copy Menu Item","menu item"],"articleSection":["C# .NET","Code"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.vscrypt.com\/copy-menuitems\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.vscrypt.com\/copy-menuitems\/","url":"https:\/\/www.vscrypt.com\/copy-menuitems\/","name":"Copy menu items to another while still using existing methods - VScrypt","isPartOf":{"@id":"https:\/\/www.vscrypt.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.vscrypt.com\/copy-menuitems\/#primaryimage"},"image":{"@id":"https:\/\/www.vscrypt.com\/copy-menuitems\/#primaryimage"},"thumbnailUrl":"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2017\/02\/header.png","datePublished":"2017-02-13T22:37:23+00:00","dateModified":"2021-06-04T00:42:07+00:00","breadcrumb":{"@id":"https:\/\/www.vscrypt.com\/copy-menuitems\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.vscrypt.com\/copy-menuitems\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vscrypt.com\/copy-menuitems\/#primaryimage","url":"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2017\/02\/header.png","contentUrl":"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2017\/02\/header.png","width":427,"height":303},{"@type":"BreadcrumbList","@id":"https:\/\/www.vscrypt.com\/copy-menuitems\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.vscrypt.com\/"},{"@type":"ListItem","position":2,"name":"Copy menu items to another while still using existing methods"}]},{"@type":"WebSite","@id":"https:\/\/www.vscrypt.com\/#website","url":"https:\/\/www.vscrypt.com\/","name":"VScrypt","description":"Helpful scripts, snippets and guides...","publisher":{"@id":"https:\/\/www.vscrypt.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.vscrypt.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.vscrypt.com\/#organization","name":"VScrypt","url":"https:\/\/www.vscrypt.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.vscrypt.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2019\/01\/logo-1.png","contentUrl":"https:\/\/www.vscrypt.com\/wp-content\/uploads\/2019\/01\/logo-1.png","width":200,"height":80,"caption":"VScrypt"},"image":{"@id":"https:\/\/www.vscrypt.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/www.vscrypt.com\/#\/schema\/person\/855a3e6d9310019d20f2da32115df36a","name":"Vikram","description":"I am just an IT person trying to share as much knowledge as possible hoping someone will find it helpful. It just takes time to organize everything from my head into something that makes sense.","url":"https:\/\/www.vscrypt.com\/author\/vchand\/"}]}},"_links":{"self":[{"href":"https:\/\/www.vscrypt.com\/api\/wp\/v2\/posts\/194","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.vscrypt.com\/api\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.vscrypt.com\/api\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.vscrypt.com\/api\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.vscrypt.com\/api\/wp\/v2\/comments?post=194"}],"version-history":[{"count":0,"href":"https:\/\/www.vscrypt.com\/api\/wp\/v2\/posts\/194\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.vscrypt.com\/api\/wp\/v2\/media\/216"}],"wp:attachment":[{"href":"https:\/\/www.vscrypt.com\/api\/wp\/v2\/media?parent=194"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.vscrypt.com\/api\/wp\/v2\/categories?post=194"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.vscrypt.com\/api\/wp\/v2\/tags?post=194"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}