IXmlElementEnsureElement Method  | 
.NET API Reference for Oracle® Coherence Community Edition 
 (14.1.1.0)
E55634-01
 
            Ensure that a child element exists.
            
 
    Namespace: 
   Tangosol.Run.Xml
    Assembly:
   Coherence (in Coherence.dll) Version: 14.1.1.1 (14.1.1.1)
SyntaxIXmlElement EnsureElement(
	string path
)
Parameters
- path
 - Type: SystemString
            Element path.
             
Return Value
Type: 
IXmlElement
            The existing or new IXmlElement object.
            
Exceptions| Exception | Condition | 
|---|
| ArgumentException | 
            If the name is null or if any part of the path is not a
            legal XML tag name.
             | 
| InvalidOperationException | 
            If any element in the path is immutable or otherwise can not add
            a child element.
             | 
Remarks
            This is a convenience method. It combines the functionality of
            
FindElement(String) and
            
AddElement(String). If any part of the path does
            not exist create new child elements to match the path.
            
See Also