//プロパティやメソッドの引数でオプショナル(任意指定)を設定する場合はObject型で宣言した変数にType.Missingを設定したものをrefで与える object missing = Type.Missing; ISegmentCollection fanPolygon = new PolygonClass(); fanPolygon.AddSegment((ISegment)lineLeft, ref missing, ref missing);
記事
目次
記事
//プロパティやメソッドの引数でオプショナル(任意指定)を設定する場合はObject型で宣言した変数にType.Missingを設定したものをrefで与える object missing = Type.Missing; ISegmentCollection fanPolygon = new PolygonClass(); fanPolygon.AddSegment((ISegment)lineLeft, ref missing, ref missing);