共用方式為


Protection Constructors

Definition

Overloads

Protection()

Initializes a new instance of the Protection class.

Protection(OpenXmlElement[])

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

Protection(IEnumerable<OpenXmlElement>)

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

Protection(String)

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

Protection()

Initializes a new instance of the Protection class.

public Protection ();
Public Sub New ()

Applies to

Protection(OpenXmlElement[])

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

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

Parameters

childElements
OpenXmlElement[]

Specifies the child elements.

Applies to

Protection(IEnumerable<OpenXmlElement>)

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

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

Parameters

childElements
IEnumerable<OpenXmlElement>

Specifies the child elements.

Applies to

Protection(String)

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

public Protection (string outerXml);
new DocumentFormat.OpenXml.Drawing.Charts.Protection : string -> DocumentFormat.OpenXml.Drawing.Charts.Protection
Public Sub New (outerXml As String)

Parameters

outerXml
String

Specifies the outer XML of the element.

Applies to