RedactAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
When applied to a property on an options class, this attribute prevents the property value from being formatted by conforming IOptionFormatter instances.
[System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false)]
public class RedactAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Property, AllowMultiple=false)>]
type RedactAttribute = class
inherit Attribute
Public Class RedactAttribute
Inherits Attribute
- Inheritance
-
RedactAttribute
- Derived
- Attributes
Constructors
RedactAttribute() |
Methods
Redact(Object) |
Redacts the provided value. |