PersonalizableAttribute.IsSensitive Property


Gets the setting that indicates whether the attribute is sensitive, as established by one of the constructors.

Namespace:   System.Web.UI.WebControls.WebParts
Assembly:  System.Web (in System.Web.dll)

public bool IsSensitive { get; }

Property Value

Type: System.Boolean

true if the property is sensitive; otherwise, false.

This value is set when an instance of the PersonalizableAttribute class is created.

This property controls how the property value is exported. If the property is set to true, it will not be exported when the control's ExportMode property is set to NonSensitiveData.

.NET Framework
Available since 2.0
Return to top