<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>ameotokopg</author_name>
  <author_url>https://blog.hatena.ne.jp/ameotokopg/</author_url>
  <blog_title>ameotokopgの日記</blog_title>
  <blog_url>https://ameotokopg.hatenadiary.org/</blog_url>
  <categories>
    <anon>PowerShell</anon>
  </categories>
  <description>関数を定義した際に複数の引数を参照渡ししたり、数値渡しの引数と混在させた場合に詰まったので、忘備録として記載。よく引き合いに出される関数への参照渡しは $Hoge = &quot;&quot; HogeHoge([ref]$hoge) function HogeHoge([ref]$hogege){ $hogege.Value } だったりするため、複数の引数を伴う場合、以下の様に記述する #呼び出し showDBConnectionDialog $path_my_app_data ([ref]$db_connection_strings) #定義 function showDBConnectionDialog …</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fameotokopg.hatenadiary.org%2Fentry%2F20170525%2F1495695721&quot; title=&quot;関数への複数の引数を参照渡しする場合の注意点 - ameotokopgの日記&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2017-05-25 16:02:01</published>
  <title>関数への複数の引数を参照渡しする場合の注意点</title>
  <type>rich</type>
  <url>https://ameotokopg.hatenadiary.org/entry/20170525/1495695721</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
