누구나 XmlDocument.SelectSingleNodeNS 함수를 WinRT 용으로 사용할 수 있습니까? 두 번째 매개 변수가 무엇을 기대하는지 명확하지 않으며 예제를 찾을 수 없습니다. "를 AliasName = '공간'의 xmlns"합니다 (XML 스타일)SelectSingleNodeNS의 네임 스페이스 매개 변수는 어떤 형식을 사용해야합니까?
public IXmlNode SelectSingleNodeNS(
string xpath,
object namespaces
)
Contains a string that specifies the namespaces to use in XPath expressions when it is necessary to define new namespaces externally. Namespaces are defined in the XML style, as a space-separated list of namespace declaration attributes. You can use this property to set the default namespace as well.
아니요, 성능 저하가 없습니다. http://stackoverflow.com/questions/256859/is-there-a-performance-difference-between-a : [1] [1] [응답]을 보라 -for-loop-and-for-each-loop –