Bagikan melalui


SyntaxFactory.SingletonSeparatedList<TNode>(TNode) Metode

Definisi

Membuat daftar yang dipisahkan database tunggal.

public:
generic <typename TNode>
 where TNode : Microsoft::CodeAnalysis::SyntaxNode static Microsoft::CodeAnalysis::SeparatedSyntaxList<TNode> SingletonSeparatedList(TNode node);
public static Microsoft.CodeAnalysis.SeparatedSyntaxList<TNode> SingletonSeparatedList<TNode>(TNode node) where TNode : Microsoft.CodeAnalysis.SyntaxNode;
static member SingletonSeparatedList : 'Node -> Microsoft.CodeAnalysis.SeparatedSyntaxList<'Node (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)> (requires 'Node :> Microsoft.CodeAnalysis.SyntaxNode)
Public Shared Function SingletonSeparatedList(Of TNode As SyntaxNode) (node As TNode) As SeparatedSyntaxList(Of TNode)

Jenis parameter

TNode

Jenis node elemen tertentu.

Parameter

node
TNode

Satu simpul.

Mengembalikan

Berlaku untuk