XDocumentClass.SetNamedNodeProperty 方法
此類型為 coclass 或 coclass 成員的包裝函式,屬性 COM 互通性中的必要項。此類別不得用於程式碼中。
**命名空間:**Microsoft.Office.Interop.InfoPath
**組件:**Microsoft.Office.Interop.InfoPath (於 microsoft.office.interop.infopath.dll 中)
語法
'宣告
<DispIdAttribute(44)> _
Public Overridable Sub SetNamedNodeProperty ( _
<InAttribute> pxmlMainDOMNode As IXMLDOMNode, _
<InAttribute> bstrPropertyName As String, _
<InAttribute> bstrValue As String _
) Implements _XDocument2.SetNamedNodeProperty
'用途
Dim instance As XDocumentClass
Dim pxmlMainDOMNode As IXMLDOMNode
Dim bstrPropertyName As String
Dim bstrValue As String
CType(instance, _XDocument2).SetNamedNodeProperty(pxmlMainDOMNode, bstrPropertyName, bstrValue)
[DispIdAttribute(44)]
public virtual void _XDocument2.SetNamedNodeProperty (
[InAttribute] IXMLDOMNode pxmlMainDOMNode,
[InAttribute] string bstrPropertyName,
[InAttribute] string bstrValue
)
參數
- pxmlMainDOMNode
- bstrPropertyName
- bstrValue
請參閱
參考
XDocumentClass 類別
XDocumentClass 成員
Microsoft.Office.Interop.InfoPath 命名空間