パラメーター HtmlElement.InsertAdjacentElement(HtmlElementInsertionOrientation, HtmlElement)orient の名前が orientationに変更されました。
以前の動作
以前は、 HtmlElement.InsertAdjacentElement(HtmlElementInsertionOrientation, HtmlElement) の呼び出しには、 orient パラメーターが含まれていました。
element.InsertAdjacentElement(orient: HtmlElementInsertionOrientation.AfterEnd, newElement);
新しい動作
新しいパラメーター名が orientation。
element.InsertAdjacentElement(orientation: HtmlElementInsertionOrientation.AfterEnd, newElement);
導入されたバージョン
.NET 10
破壊的変更の種類
この変更は ソースの互換性に影響を与える可能性があります。
変更の理由
パラメーター名が変更され、わかりやすい名前が付けられます。
推奨されるアクション
名前付き引数を持つすべての呼び出しを編集して、新しいパラメーター名を使用するか、パラメーター名を削除します。
element.InsertAdjacentElement(orientation: HtmlElementInsertionOrientation.AfterEnd, newElement);
element.InsertAdjacentElement(HtmlElementInsertionOrientation.AfterEnd, newElement);
影響を受ける API
GitHub で Microsoft と共同作業する
このコンテンツのソースは GitHub にあります。そこで、issue や pull request を作成および確認することもできます。 詳細については、共同作成者ガイドを参照してください。
.NET