共用方式為


OleObject.DataOrViewAspect Property

Data or View Aspect.Represents the attribte in schema: dvAspect

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

Syntax

'Declaration
<SchemaAttrAttribute(, "dvAspect")> _
Public Property DataOrViewAspect As EnumValue(Of DataViewAspectValues)
    Get
    Set
'Usage
Dim instance As OleObject
Dim value As EnumValue(Of DataViewAspectValues)

value = instance.DataOrViewAspect

instance.DataOrViewAspect = value
[SchemaAttrAttribute(, "dvAspect")]
public EnumValue<DataViewAspectValues> DataOrViewAspect { get; set; }

Property Value

Type: DocumentFormat.OpenXml.EnumValue<DataViewAspectValues>
Returns EnumValue<T>.

See Also

Reference

OleObject Class

OleObject Members

DocumentFormat.OpenXml.Spreadsheet Namespace