Share via


Sources.SelectedStyle Property

Selected Style.Represents the attribte in schema: SelectedStyle

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

Syntax

'Declaration
<SchemaAttrAttribute(, "SelectedStyle")> _
Public Property SelectedStyle As StringValue
    Get
    Set
'Usage
Dim instance As Sources
Dim value As StringValue

value = instance.SelectedStyle

instance.SelectedStyle = value
[SchemaAttrAttribute(, "SelectedStyle")]
public StringValue SelectedStyle { get; set; }

Property Value

Type: DocumentFormat.OpenXml.StringValue
Returns StringValue.

Remarks

The following information from the ECMA International Standard ECMA-376 can be useful when working with this class.

Specifies the name of a file which may be used to format the bibliographies and citations within this document.

If this file is of an unknown form or cannot be located, then the other attributes on this element may be used to determine the format to use.

Here is an example:

<b:Sources SelectedStyle="\APA.XSL" StyleName="APA" URI="https://schemas.openxmlformats.org/bibliographicStyle/APA">

The possible values for this attribute are defined by the ST_String255 simple type.

See Also

Reference

Sources Class

Sources Members

DocumentFormat.OpenXml.Bibliography Namespace