共用方式為


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::VisualBasic::Syntax::XmlEmptyElementSyntax ^ XmlParamRefElement(System::String ^ parameterName);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlEmptyElementSyntax XmlParamRefElement (string parameterName);
static member XmlParamRefElement : string -> Microsoft.CodeAnalysis.VisualBasic.Syntax.XmlEmptyElementSyntax
Public Shared Function XmlParamRefElement (parameterName As String) As XmlEmptyElementSyntax

Parameters

parameterName
String

The name of the referenced parameter.

Returns

Applies to