Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
HtmlElement.InsertAdjacentElement(HtmlElementInsertionOrientation, HtmlElement) parameter orient was renamed to orientation.
Previous behavior
Previously, calls to HtmlElement.InsertAdjacentElement(HtmlElementInsertionOrientation, HtmlElement) included the orient parameter:
element.InsertAdjacentElement(orient: HtmlElementInsertionOrientation.AfterEnd, newElement);
New behavior
The new parameter name is orientation.
element.InsertAdjacentElement(orientation: HtmlElementInsertionOrientation.AfterEnd, newElement);
Version introduced
.NET 10
Type of breaking change
This change can affect source compatibility.
Reason for change
The parameter name was changed to provide a more descriptive name.
Recommended action
Edit any calls with a named argument to use the new parameter name or remove the parameter name:
element.InsertAdjacentElement(orientation: HtmlElementInsertionOrientation.AfterEnd, newElement);
element.InsertAdjacentElement(HtmlElementInsertionOrientation.AfterEnd, newElement);