1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81
|
<?xml version="1.0" encoding="utf-8"?>
<Type Name="WebPartExportMode" FullName="System.Web.UI.WebControls.WebParts.WebPartExportMode">
<TypeSignature Language="C#" Value="public enum WebPartExportMode" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Enum</BaseTypeName>
</Base>
<Docs>
<since version=".NET 2.0" />
<remarks>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>A value from the <see cref="T:System.Web.UI.WebControls.WebParts.WebPartExportMode" /> enumerator can be applied to the <see cref="P:System.Web.UI.WebControls.WebParts.WebPart.ExportMode" /> property to specify which properties from a Web Parts control can be exported. By default, the properties of a <see cref="T:System.Web.UI.WebControls.WebParts.WebPart" /> control cannot be exported and the control's <see cref="P:System.Web.UI.WebControls.WebParts.WebPart.ExportMode" /> property is set to <see cref="F:System.Web.UI.WebControls.WebParts.WebPartExportMode.None" />. To enable exporting all properties for the control, set the <see cref="P:System.Web.UI.WebControls.WebParts.WebPart.ExportMode" /> value to <see cref="F:System.Web.UI.WebControls.WebParts.WebPartExportMode.All" />. To export only certain properties while preventing the export of properties that contain sensitive data, you set the property value to <see cref="F:System.Web.UI.WebControls.WebParts.WebPartExportMode.NonSensitiveData" />.</para>
<para>A property can be marked as sensitive through the <see cref="T:System.Web.UI.WebControls.WebParts.PersonalizableAttribute" /> attribute.</para>
<block subset="none" type="note">
<para>To enable the export feature for a Web application that includes Web Parts controls, in the Web.config file for your application, you must add an attribute to the <webParts> element within the <system.web> section, as in the following markup.</para>
<para><webParts enableExport="true"></para>
<para></webParts></para>
</block>
</remarks>
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Specifies whether all, some, or none of a <see cref="T:System.Web.UI.WebControls.WebParts.WebPart" /> control's properties can be exported.</para>
</summary>
</Docs>
<Members>
<Member MemberName="All">
<MemberSignature Language="C#" Value="All" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.WebParts.WebPartExportMode</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>All of a Web Parts control's properties can be exported.</para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="None">
<MemberSignature Language="C#" Value="None" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.WebParts.WebPartExportMode</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>None of a Web Parts control's properties can be exported. </para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
<Member MemberName="NonSensitiveData">
<MemberSignature Language="C#" Value="NonSensitiveData" />
<MemberType>Field</MemberType>
<ReturnValue>
<ReturnType>System.Web.UI.WebControls.WebParts.WebPartExportMode</ReturnType>
</ReturnValue>
<Docs>
<since version=".NET 2.0" />
<summary>
<attribution license="cc4" from="Microsoft" modified="false" />
<para>Only properties of a Web Parts control that have been defined as non-sensitive can be exported. </para>
</summary>
</Docs>
<AssemblyInfo>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
</Member>
</Members>
</Type>
|