ITagCollector.Add 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.
Overloads
Add(String, Object) |
Adds a tag. |
Add(String, Object, DataClassificationSet) |
Adds a tag. |
Add(String, Object)
- Source:
- ITagCollector.cs
- Source:
- ITagCollector.cs
Adds a tag.
public:
void Add(System::String ^ tagName, System::Object ^ tagValue);
public void Add (string tagName, object? tagValue);
abstract member Add : string * obj -> unit
Public Sub Add (tagName As String, tagValue As Object)
Parameters
- tagName
- String
The name of the tag to add.
- tagValue
- Object
The value of the tag to add.
Exceptions
tagName
is null
.
tagName
is empty or contains exclusively whitespace,
or a tag of the same name has already been added.
Applies to
Add(String, Object, DataClassificationSet)
- Source:
- ITagCollector.cs
- Source:
- ITagCollector.cs
Adds a tag.
public:
void Add(System::String ^ tagName, System::Object ^ tagValue, Microsoft::Extensions::Compliance::Classification::DataClassificationSet ^ classifications);
public void Add (string tagName, object? tagValue, Microsoft.Extensions.Compliance.Classification.DataClassificationSet classifications);
abstract member Add : string * obj * Microsoft.Extensions.Compliance.Classification.DataClassificationSet -> unit
Public Sub Add (tagName As String, tagValue As Object, classifications As DataClassificationSet)
Parameters
- tagName
- String
The name of the tag to add.
- tagValue
- Object
The value of the tag to add.
- classifications
- DataClassificationSet
The data classifications of the tag value.
Exceptions
tagName
is null
.
tagName
is empty or contains exclusively whitespace,
or a tag of the same name has already been added.
Applies to
.NET
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示