{"id":1586,"date":"2021-11-04T09:21:19","date_gmt":"2021-11-04T00:21:19","guid":{"rendered":"https:\/\/kintools.com\/?post_type=docs&#038;p=1586"},"modified":"2021-11-05T14:37:25","modified_gmt":"2021-11-05T05:37:25","password":"","slug":"using-aliases-in-expressions","status":"publish","type":"docs","link":"https:\/\/kintools.com\/en\/docs\/using-aliases-in-expressions\/","title":{"rendered":"Using aliases in expressions"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\u30ec\u30dd\u30fc\u30c8\u5185\u306e\u5f0f\u3092\u7406\u89e3\u3057\u3084\u3059\u304f\u3059\u308b\u305f\u3081\u306b\u3001\u5909\u6570\u307e\u305f\u306f\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u3068\u5217\u306e\u8a73\u7d30\u3092\u660e\u793a\u7684\u306b\u6307\u5b9a\u3059\u308b\u4ee3\u308f\u308a\u306b\u3001\u30a8\u30a4\u30ea\u30a2\u30b9\u3092\u4f7f\u7528\u3067\u304d\u307e\u3059\u3002\u305f\u3068\u3048\u3070\u3001\u30c7\u30fc\u30bf\u30c7\u30a3\u30af\u30b7\u30e7\u30ca\u30ea\u306b\u300cMyVariable\u300d\u3068\u3044\u3046\u5909\u6570\u304c\u3042\u308a\u3001\u305d\u306e\u30a8\u30a4\u30ea\u30a2\u30b9\u3092\u300cmy best variable\u300d\u306b\u8a2d\u5b9a\u3057\u3066\u3044\u308b\u5834\u5408\u3001\u305d\u306e\u5909\u6570\u3092\u540d\u524d\u307e\u305f\u306f\u30a8\u30a4\u30ea\u30a2\u30b9\u3067\u76f4\u63a5\u53c2\u7167\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u540d\u524d\u3067\u5909\u6570\u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u5f0f\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">{MyVariable}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30a8\u30a4\u30ea\u30a2\u30b9\u3067\u5909\u6570\u3092\u4f7f\u7528\u3059\u308b\u306b\u306f\u3001\u6b21\u306e\u3088\u3046\u306a\u5f0f\u3092\u4f5c\u6210\u3057\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">{[ MyBestVariable ]}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u69cb\u6587-\u5909\u6570<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">C\uff03\u307e\u305f\u306fVB.Net\u3067\u8a31\u53ef\u3055\u308c\u3066\u3044\u306a\u3044\u30a8\u30a4\u30ea\u30a2\u30b9\u5185\u3067\u30b9\u30da\u30fc\u30b9\u3001\u53e5\u8aad\u70b9\u3001\u307e\u305f\u306f\u6587\u5b57\u3092\u4f7f\u7528\u3059\u308b\u5834\u5408\u306f\u3001\u30a8\u30a4\u30ea\u30a2\u30b9\u306e\u6587\u5b57\u5217\u8868\u73fe\u3092\u89d2\u304b\u3063\u3053[]\u3067\u56f2\u3080\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306e\u3088\u3046\u306a\u6587\u5b57\u304c\u4f7f\u7528\u3055\u308c\u3066\u3044\u306a\u3044\u5834\u5408\u3001\u89d2\u62ec\u5f27\u306f\u30aa\u30d7\u30b7\u30e7\u30f3\u3067\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5225\u540d\u3067\u3042\u3063\u305f\u5834\u5408\u305f\u3068\u3048\u3070\u3001\u300cMyBestVariable\u300d\u3001\u305d\u306e\u5f0f\u306f\u62ec\u5f27\u306a\u3057\u3067\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">{MyBestVariable}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u305d\u308c\u4ee5\u5916\u306e\u5834\u5408\u306f\u3001\u5909\u6570\u3092\u89d2\u304b\u3063\u3053\u3067\u56f2\u3080\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u6709\u52b9\u306a\u30a8\u30a4\u30ea\u30a2\u30b9\u306e\u4f7f\u7528\u4f8b\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">{Variable1}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">{VariableAndValue}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">{[Variable and Value]}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">{[Variable and Value]}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">{[Variable&amp;Values]}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">{[Variable-First]}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u5206\u304b\u308a\u3084\u3059\u304f\u3059\u308b\u305f\u3081\u306b\u3001\u7121\u52b9\u306a\u30a8\u30a4\u30ea\u30a2\u30b9\u306e\u4f7f\u3044\u65b9\u306e\u4f8b\u3092\u6319\u3052\u3066\u304a\u304d\u307e\u3059\u3002<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"> {[Variable&amp;Values]}  \/\/\u540d\u524d\u306b\u30b9\u30da\u30fc\u30b9\u304c\u3042\u308b\u3068\u3001\u3053\u308c\u306f\u5931\u6557\u3057\u307e\u3059<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">{Variable\uff06Values} \/\/\u4e88\u7d04\u3055\u308c\u305f\u6587\u5b57\u306b\u3088\u308a\u3001\u3053\u308c\u306f\u5931\u6557\u3057\u307e\u3059<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>\u69cb\u6587-\u30c7\u30fc\u30bf<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u3084\u30ab\u30e9\u30e0\u306e\u540d\u524d\u3092\u4f5c\u6210\u3059\u308b\u969b\u306b\u3082\u540c\u3058\u30eb\u30fc\u30eb\u304c\u4f7f\u308f\u308c\u307e\u3059\u3002\u305f\u3060\u3057\u30011\u3064\u3060\u3051\u4f8b\u5916\u304c\u3042\u308a\u307e\u3059\u3002\u30c7\u30fc\u30bf\u30ab\u30e9\u30e0\u3092\u53c2\u7167\u3059\u308b\u969b\u306b\u306f\u3001\u8b58\u5225\u5b50\u3068\u3057\u3066\u6b63\u3057\u304f\u306a\u3044\u6587\u5b57\u304c\u3042\u308b\u90e8\u5206\u306e\u307f\u3092\u62ec\u5f27\u3067\u56f2\u307f\u307e\u3059\u3002\u4f8b\u3048\u3070\uff1a<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">{DataSource.[\u30c7\u30fc\u30bf\u5217]}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">{[\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9] .DataColumn}<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">{[\u30c7\u30fc\u30bf=\u30bd\u30fc\u30b9].[\u30c7\u30fc\u30bf=\u5217]}<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u30ec\u30dd\u30fc\u30c8\u5185\u306e\u5f0f\u3092\u7406\u89e3\u3057\u3084\u3059\u304f\u3059\u308b\u305f\u3081\u306b\u3001\u5909\u6570\u307e\u305f\u306f\u30c7\u30fc\u30bf\u30bd\u30fc\u30b9\u3068\u5217\u306e\u8a73\u7d30\u3092\u660e\u793a\u7684\u306b\u6307\u5b9a\u3059\u308b\u4ee3\u308f\u308a\u306b\u3001\u30a8\u30a4\u30ea\u30a2\u30b9 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"ocean_post_layout":"","ocean_both_sidebars_style":"","ocean_both_sidebars_content_width":0,"ocean_both_sidebars_sidebars_width":0,"ocean_sidebar":"","ocean_second_sidebar":"","ocean_disable_margins":"enable","ocean_add_body_class":"","ocean_shortcode_before_top_bar":"","ocean_shortcode_after_top_bar":"","ocean_shortcode_before_header":"","ocean_shortcode_after_header":"","ocean_has_shortcode":"","ocean_shortcode_after_title":"","ocean_shortcode_before_footer_widgets":"","ocean_shortcode_after_footer_widgets":"","ocean_shortcode_before_footer_bottom":"","ocean_shortcode_after_footer_bottom":"","ocean_display_top_bar":"default","ocean_display_header":"default","ocean_header_style":"","ocean_center_header_left_menu":"","ocean_custom_header_template":"","ocean_custom_logo":0,"ocean_custom_retina_logo":0,"ocean_custom_logo_max_width":0,"ocean_custom_logo_tablet_max_width":0,"ocean_custom_logo_mobile_max_width":0,"ocean_custom_logo_max_height":0,"ocean_custom_logo_tablet_max_height":0,"ocean_custom_logo_mobile_max_height":0,"ocean_header_custom_menu":"","ocean_menu_typo_font_family":"","ocean_menu_typo_font_subset":"","ocean_menu_typo_font_size":0,"ocean_menu_typo_font_size_tablet":0,"ocean_menu_typo_font_size_mobile":0,"ocean_menu_typo_font_size_unit":"px","ocean_menu_typo_font_weight":"","ocean_menu_typo_font_weight_tablet":"","ocean_menu_typo_font_weight_mobile":"","ocean_menu_typo_transform":"","ocean_menu_typo_transform_tablet":"","ocean_menu_typo_transform_mobile":"","ocean_menu_typo_line_height":0,"ocean_menu_typo_line_height_tablet":0,"ocean_menu_typo_line_height_mobile":0,"ocean_menu_typo_line_height_unit":"","ocean_menu_typo_spacing":0,"ocean_menu_typo_spacing_tablet":0,"ocean_menu_typo_spacing_mobile":0,"ocean_menu_typo_spacing_unit":"","ocean_menu_link_color":"","ocean_menu_link_color_hover":"","ocean_menu_link_color_active":"","ocean_menu_link_background":"","ocean_menu_link_hover_background":"","ocean_menu_link_active_background":"","ocean_menu_social_links_bg":"","ocean_menu_social_hover_links_bg":"","ocean_menu_social_links_color":"","ocean_menu_social_hover_links_color":"","ocean_disable_title":"default","ocean_disable_heading":"default","ocean_post_title":"","ocean_post_subheading":"","ocean_post_title_style":"","ocean_post_title_background_color":"","ocean_post_title_background":0,"ocean_post_title_bg_image_position":"","ocean_post_title_bg_image_attachment":"","ocean_post_title_bg_image_repeat":"","ocean_post_title_bg_image_size":"","ocean_post_title_height":0,"ocean_post_title_bg_overlay":0.5,"ocean_post_title_bg_overlay_color":"","ocean_disable_breadcrumbs":"default","ocean_breadcrumbs_color":"","ocean_breadcrumbs_separator_color":"","ocean_breadcrumbs_links_color":"","ocean_breadcrumbs_links_hover_color":"","ocean_display_footer_widgets":"default","ocean_display_footer_bottom":"default","ocean_custom_footer_template":"","footnotes":""},"doc_category":[65],"doc_tag":[],"class_list":["post-1586","docs","type-docs","status-publish","hentry","doc_category-expressions","entry"],"year_month":"2026-05","word_count":32,"total_views":0,"reactions":{"happy":0,"normal":0,"sad":0},"author_info":{"name":"yuko.imai","author_nicename":"yuko-imai","author_url":"https:\/\/kintools.com\/en\/author\/yuko-imai\/"},"doc_category_info":[{"term_name":"\u5f0f","term_url":"https:\/\/kintools.com\/en\/docs-category\/expressions\/"}],"doc_tag_info":[],"_links":{"self":[{"href":"https:\/\/kintools.com\/en\/wp-json\/wp\/v2\/docs\/1586","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kintools.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/kintools.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/kintools.com\/en\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/kintools.com\/en\/wp-json\/wp\/v2\/comments?post=1586"}],"version-history":[{"count":5,"href":"https:\/\/kintools.com\/en\/wp-json\/wp\/v2\/docs\/1586\/revisions"}],"predecessor-version":[{"id":1729,"href":"https:\/\/kintools.com\/en\/wp-json\/wp\/v2\/docs\/1586\/revisions\/1729"}],"wp:attachment":[{"href":"https:\/\/kintools.com\/en\/wp-json\/wp\/v2\/media?parent=1586"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/kintools.com\/en\/wp-json\/wp\/v2\/doc_category?post=1586"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/kintools.com\/en\/wp-json\/wp\/v2\/doc_tag?post=1586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}