<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>guitarrapc_tech</author_name>
  <author_url>https://blog.hatena.ne.jp/guitarrapc_tech/</author_url>
  <blog_title>tech.guitarrapc.cóm</blog_title>
  <blog_url>https://tech.guitarrapc.com/</blog_url>
  <categories>
    <anon>PowerShell</anon>
  </categories>
  <description>PowerShellといえば、型です。 文字列じゃなくて型。ということは、インテリセンスが何を使えるか教えてくれるわけです。インテリセンス使えないと辛いですよね。自作の関数を作ったことがある人は多いでしょう。でも、作った関数の出力結果がパイプラインの先でインテリセンス効かないって経験ありませんか？ 今回はどうしてなのか、どうやって解決するのかを説明します。 問題はどういうこと 出力型を明示する 対応方法 [OutputType()]属性のいけてなさ 返戻値の型がずれても何も警告もエラーも出ない PSCustomObjectの厄介さ まとめ 問題はどういうこと 例えば、[System.Strin…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.guitarrapc.com%2Fentry%2F2015%2F01%2F20%2F034358&quot; title=&quot;PowerShell で 関数実行結果の型をパイプラインの先に伝搬する - tech.guitarrapc.cóm&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>https://cdn-ak.f.st-hatena.com/images/fotolife/g/guitarrapc_tech/20150120/20150120031501.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-01-20 03:43:58</published>
  <title>PowerShell で 関数実行結果の型をパイプラインの先に伝搬する</title>
  <type>rich</type>
  <url>https://tech.guitarrapc.com/entry/2015/01/20/034358</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
