RedactAttribute クラス

定義

オプション クラスのプロパティに適用すると、この属性は、プロパティ値が準拠 IOptionFormatter インスタンスによって書式設定されないようにします。

[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
継承
RedactAttribute
派生
属性

コンストラクター

RedactAttribute()

オプション クラスのプロパティに適用すると、この属性は、プロパティ値が準拠 IOptionFormatter インスタンスによって書式設定されないようにします。

メソッド

Redact(Object)

指定された値を編集します。

適用対象