共用方式為


SyntaxFactory.XmlParamRefElement(String) Method

Definition

Creates the syntax representation of a paramref element within xml documentation comments (e.g. for referencing particular parameters of a method).

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::XmlEmptyElementSyntax ^ XmlParamRefElement(System::String ^ parameterName);
public static Microsoft.CodeAnalysis.CSharp.Syntax.XmlEmptyElementSyntax XmlParamRefElement (string parameterName);
static member XmlParamRefElement : string -> Microsoft.CodeAnalysis.CSharp.Syntax.XmlEmptyElementSyntax
Public Shared Function XmlParamRefElement (parameterName As String) As XmlEmptyElementSyntax

Parameters

parameterName
String

The name of the referenced parameter.

Returns

Applies to