IRedactionBuilder.SetRedactor<T>(DataClassificationSet[]) Method
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.
Sets the redactor to use for a set of data classifications.
public:
generic <typename T>
where T : Microsoft::Extensions::Compliance::Redaction::Redactor Microsoft::Extensions::Compliance::Redaction::IRedactionBuilder ^ SetRedactor(... cli::array <Microsoft::Extensions::Compliance::Classification::DataClassificationSet ^> ^ classifications);
public Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder SetRedactor<T> (params Microsoft.Extensions.Compliance.Classification.DataClassificationSet[] classifications) where T : Microsoft.Extensions.Compliance.Redaction.Redactor;
abstract member SetRedactor : Microsoft.Extensions.Compliance.Classification.DataClassificationSet[] -> Microsoft.Extensions.Compliance.Redaction.IRedactionBuilder (requires 'T :> Microsoft.Extensions.Compliance.Redaction.Redactor)
Public Function SetRedactor(Of T As Redactor) (ParamArray classifications As DataClassificationSet()) As IRedactionBuilder
Type Parameters
- T
Redactor type.
Parameters
- classifications
- DataClassificationSet[]
The data classifications for which the redactor type should be used.
Returns
The value of this instance.
Exceptions
classifications
is null
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.