Share via


Survey class

Defines the Survey Class.This class is only available in O15. When the object is serialized out as xml, its qualified name is x15:survey.

Inheritance hierarchy

System.Object
  DocumentFormat.OpenXml.OpenXmlElement
    DocumentFormat.OpenXml.OpenXmlCompositeElement
      DocumentFormat.OpenXml.Office15.Excel.Survey

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

Syntax

'Declaration
<ChildElementInfoAttribute(GetType(TitlePrSurveyElementPr), FileFormatVersions.Office15)> _
<ChildElementInfoAttribute(GetType(ExtensionList), FileFormatVersions.Office15)> _
<ChildElementInfoAttribute(GetType(SurveyPrSurveyElementPr), FileFormatVersions.Office15)> _
<OfficeAvailabilityAttribute(FileFormatVersions.Office15)> _
<ChildElementInfoAttribute(GetType(DescriptionPrSurveyElementPr), FileFormatVersions.Office15)> _
<ChildElementInfoAttribute(GetType(SurveyQuestions), FileFormatVersions.Office15)> _
Public Class Survey _
    Inherits OpenXmlCompositeElement
'Usage
Dim instance As Survey
[ChildElementInfoAttribute(typeof(TitlePrSurveyElementPr), FileFormatVersions.Office15)]
[ChildElementInfoAttribute(typeof(ExtensionList), FileFormatVersions.Office15)]
[ChildElementInfoAttribute(typeof(SurveyPrSurveyElementPr), FileFormatVersions.Office15)]
[OfficeAvailabilityAttribute(FileFormatVersions.Office15)]
[ChildElementInfoAttribute(typeof(DescriptionPrSurveyElementPr), FileFormatVersions.Office15)]
[ChildElementInfoAttribute(typeof(SurveyQuestions), FileFormatVersions.Office15)]
public class Survey : OpenXmlCompositeElement

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See also

Reference

Survey members

DocumentFormat.OpenXml.Office15.Excel namespace