ForEachNodeListEnumerator.InnerXPathString 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指定 XPath 字符串或包含 XPath 字符串的变量的名称,具体取决于 InnerXPathStringSourceType 的值。
public:
property System::String ^ InnerXPathString { System::String ^ get(); void set(System::String ^ value); };
public string InnerXPathString { get; set; }
member this.InnerXPathString : string with get, set
Public Property InnerXPathString As String
属性值
一个值,该值表示 XPath 字符串、包含 XPath 字符串的文件的名称或包含 XPath 字符串的变量的名称,具体取决于 InnerXPathStringSourceType 的值。
实现
注解
应用到 XML 文件的 XPath 表达式为外部 XPath 运算,存储于 OuterXPathString 属性中。 如果 XPath 枚举类型设置为 ElementCollection,则 ForeachNodeList 枚举器可以将存储在属性中的 InnerXPathString 内部 XPath 表达式应用于元素集合。