TrueFalseBlankValue.FromBoolean Method

Returns a new TrueFalseBlankValue object created from Boolean.

Namespace:  DocumentFormat.OpenXml
Assembly:  DocumentFormat.OpenXml (in DocumentFormat.OpenXml.dll)

Syntax

声明
Public Shared Function FromBoolean ( _
    value As Boolean _
) As TrueFalseBlankValue
用法
Dim value As Boolean
Dim returnValue As TrueFalseBlankValue

returnValue = TrueFalseBlankValue.FromBoolean(value)
public static TrueFalseBlankValue FromBoolean(
    bool value
)

Parameters

  • value
    Type: System.Boolean
    A Boolean value to create a new TrueFalseBlankValue object from.

Return Value

Type: DocumentFormat.OpenXml.TrueFalseBlankValue
A TrueFalseBlankValue that corresponds to the value parameter.

See Also

Reference

TrueFalseBlankValue Class

TrueFalseBlankValue Members

DocumentFormat.OpenXml Namespace