CodeReference.ResolveMember Method

Namespace
Kampute.DocToolkit.Support
Assembly
  • Kampute.DocToolkit.dll

Definition

Resolves a type or type member based on the specified XML documentation cref string.
public static IMember ResolveMember(string cref)

Parameters

cref string
The code reference that identifies the member to resolve.

Returns

IMember
The member metadata if the code reference is valid and member is found; otherwise, null.

Exceptions

ArgumentNullException
Thrown when cref is null.

Remarks

This method only resolves types and members of the types that are exported by the assemblies registered with the MetadataProvider.