SyntaxFactory.PredefinedType(SyntaxToken) Method

Definition

Creates a new PredefinedTypeSyntax instance.

public:
 static Microsoft::CodeAnalysis::CSharp::Syntax::PredefinedTypeSyntax ^ PredefinedType(Microsoft::CodeAnalysis::SyntaxToken keyword);
public static Microsoft.CodeAnalysis.CSharp.Syntax.PredefinedTypeSyntax PredefinedType (Microsoft.CodeAnalysis.SyntaxToken keyword);
static member PredefinedType : Microsoft.CodeAnalysis.SyntaxToken -> Microsoft.CodeAnalysis.CSharp.Syntax.PredefinedTypeSyntax
Public Shared Function PredefinedType (keyword As SyntaxToken) As PredefinedTypeSyntax

Parameters

keyword
SyntaxToken

Returns

Applies to