ReferenceResolver.ResolveReference(String) 方法

定义

返回与指定的引用 ID 相关的 CLR 引用类型对象。当读取 $ref 元数据属性时,将调用此方法。Returns the CLR reference type object related to the specified reference id. This method gets called when $ref metadata property is read.

public:
 abstract System::Object ^ ResolveReference(System::String ^ referenceId);
public abstract object ResolveReference (string referenceId);
abstract member ResolveReference : string -> obj
Public MustOverride Function ResolveReference (referenceId As String) As Object

参数

referenceId
String

与返回的对象相关的引用 ID。The reference id related to the returned object.

返回

Object

与指定的引用 ID 相关的引用类型对象。The reference type object related to the specified reference id.

适用于