CommonBehavior Constructors 
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| CommonBehavior() | Initializes a new instance of the CommonBehavior class. | 
| CommonBehavior(OpenXmlElement[]) | Initializes a new instance of the CommonBehavior class with the specified child elements. | 
| CommonBehavior(IEnumerable<OpenXmlElement>) | Initializes a new instance of the CommonBehavior class with the specified child elements. | 
| CommonBehavior(String) | Initializes a new instance of the CommonBehavior class from outer XML. | 
CommonBehavior()
Initializes a new instance of the CommonBehavior class.
public CommonBehavior();Public Sub New ()Applies to
CommonBehavior(OpenXmlElement[])
Initializes a new instance of the CommonBehavior class with the specified child elements.
public CommonBehavior(params DocumentFormat.OpenXml.OpenXmlElement[] childElements);new DocumentFormat.OpenXml.Presentation.CommonBehavior : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Presentation.CommonBehaviorPublic Sub New (ParamArray childElements As OpenXmlElement())Parameters
- childElements
- OpenXmlElement[]
Specifies the child elements.
Applies to
CommonBehavior(IEnumerable<OpenXmlElement>)
Initializes a new instance of the CommonBehavior class with the specified child elements.
public CommonBehavior(System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);new DocumentFormat.OpenXml.Presentation.CommonBehavior : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Presentation.CommonBehaviorPublic Sub New (childElements As IEnumerable(Of OpenXmlElement))Parameters
- childElements
- IEnumerable<OpenXmlElement>
Specifies the child elements.
Applies to
CommonBehavior(String)
Initializes a new instance of the CommonBehavior class from outer XML.
public CommonBehavior(string outerXml);new DocumentFormat.OpenXml.Presentation.CommonBehavior : string -> DocumentFormat.OpenXml.Presentation.CommonBehaviorPublic Sub New (outerXml As String)Parameters
- outerXml
- String
Specifies the outer XML of the element.