ReferenceResolver.AddReference(String, Object) 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.
Adds an entry to the bag of references using the specified id and value. This method gets called when an $id metadata property from a JSON object is read.
public:
abstract void AddReference(System::String ^ referenceId, System::Object ^ value);
public abstract void AddReference (string referenceId, object value);
abstract member AddReference : string * obj -> unit
Public MustOverride Sub AddReference (referenceId As String, value As Object)
Parameters
- referenceId
- String
The identifier of the JSON object or array.
- value
- Object
The value of the CLR reference type object that results from parsing the JSON object.
Applies to
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.