TreeNodeStyleCollection.Add(TreeNodeStyle) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Appends the specified TreeNodeStyle object to the end of the TreeNodeStyleCollection object.
public:
int Add(System::Web::UI::WebControls::TreeNodeStyle ^ style);
public int Add (System.Web.UI.WebControls.TreeNodeStyle style);
member this.Add : System.Web.UI.WebControls.TreeNodeStyle -> int
Public Function Add (style As TreeNodeStyle) As Integer
Parameters
- style
- TreeNodeStyle
The TreeNodeStyle to append.
Returns
The position into which the new TreeNodeStyle was inserted.
Remarks
Use the Add method to append the specified TreeNodeStyle object to the end of the TreeNodeStyleCollection object.
Note
The TreeNodeStyleCollection allows you to add null
, as well as duplicate TreeNodeStyle objects.
Applies to
See also
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk