Napomena
Za pristup ovoj stranici potrebna je autorizacija. Možete se pokušati prijaviti ili promijeniti direktorije.
Za pristup ovoj stranici potrebna je autorizacija. Možete pokušati promijeniti direktorije.
This example shows how to use an attribute axis property to access XML attributes in an XML element by name. In particular, it uses the type attribute axis property to access the attribute named type in the phone object.
Example
Dim phone As XElement = <phone type="home">206-555-0144</phone>
Console.WriteLine("Type: " & phone.@type)
See also
Surađujte s nama na GitHubu
Izvor za ovaj sadržaj možete pronaći na GitHubu, gdje možete stvarati i pregledavati probleme i zahtjeve za povlačenjem. Dodatne informacije potražite u našem vodiču za suradnike.