หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
Gets an indexer used to retrieve the child element instance that corresponds to the specified expanded name.
Syntax
elem.Element[{namespaceName}localName]
Property value/return value
An indexer of the type XElement Item(String expandedName). This indexer takes an expanded name parameter and returns the corresponding XElement, or null if there is no element with the specified name.
Remarks
This property is equivalent to Element method of the System.Xml.Linq.XContainer class.
See also
.NET Desktop feedback