XmlNodeExtensionsChildElementInnerText Method |
Namespace: Kettic.AspNet.Data.ExpressionsAssembly: Kettic.AspNet.Controls (in Kettic.AspNet.Controls.dll) Version: 2014.4.1129.0 (2014.04.1129.0)
Syntaxpublic static string ChildElementInnerText(
this XmlNode node,
string childName
)
<ExtensionAttribute>
Public Shared Function ChildElementInnerText (
node As XmlNode,
childName As String
) As String
public:
[ExtensionAttribute]
static String^ ChildElementInnerText(
XmlNode^ node,
String^ childName
)
static member ChildElementInnerText :
node : XmlNode *
childName : string -> string
Parameters
- node
- Type: System.XmlXmlNode
- childName
- Type: SystemString
Return Value
Type:
StringUsage Note
In Visual Basic and C#, you can call this method as an instance method on any object of type
XmlNode. When you use instance method syntax to call this method, omit the first parameter. For more information, see
Extension Methods (Visual Basic) or
Extension Methods (C# Programming Guide).
ExceptionsException | Condition |
---|
ArgumentException |
Child element with name specified by childName does not exists.
|
See Also