共用方式為


SetBehavior Constructors

Definition

Overloads

SetBehavior()

Initializes a new instance of the SetBehavior class.

SetBehavior(OpenXmlElement[])

Initializes a new instance of the SetBehavior class with the specified child elements.

SetBehavior(IEnumerable<OpenXmlElement>)

Initializes a new instance of the SetBehavior class with the specified child elements.

SetBehavior(String)

Initializes a new instance of the SetBehavior class from outer XML.

SetBehavior()

Initializes a new instance of the SetBehavior class.

public SetBehavior ();
Public Sub New ()

Applies to

SetBehavior(OpenXmlElement[])

Initializes a new instance of the SetBehavior class with the specified child elements.

public SetBehavior (params DocumentFormat.OpenXml.OpenXmlElement[] childElements);
new DocumentFormat.OpenXml.Presentation.SetBehavior : DocumentFormat.OpenXml.OpenXmlElement[] -> DocumentFormat.OpenXml.Presentation.SetBehavior
Public Sub New (ParamArray childElements As OpenXmlElement())

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

SetBehavior(IEnumerable<OpenXmlElement>)

Initializes a new instance of the SetBehavior class with the specified child elements.

public SetBehavior (System.Collections.Generic.IEnumerable<DocumentFormat.OpenXml.OpenXmlElement> childElements);
new DocumentFormat.OpenXml.Presentation.SetBehavior : seq<DocumentFormat.OpenXml.OpenXmlElement> -> DocumentFormat.OpenXml.Presentation.SetBehavior
Public Sub New (childElements As IEnumerable(Of OpenXmlElement))

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

SetBehavior(String)

Initializes a new instance of the SetBehavior class from outer XML.

public SetBehavior (string outerXml);
new DocumentFormat.OpenXml.Presentation.SetBehavior : string -> DocumentFormat.OpenXml.Presentation.SetBehavior
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to