共用方式為


BaseTypeSyntax.WithType(TypeSyntax) Method

Definition

public:
 Microsoft::CodeAnalysis::CSharp::Syntax::BaseTypeSyntax ^ WithType(Microsoft::CodeAnalysis::CSharp::Syntax::TypeSyntax ^ type);
public Microsoft.CodeAnalysis.CSharp.Syntax.BaseTypeSyntax WithType (Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax type);
member this.WithType : Microsoft.CodeAnalysis.CSharp.Syntax.TypeSyntax -> Microsoft.CodeAnalysis.CSharp.Syntax.BaseTypeSyntax
Public Function WithType (type As TypeSyntax) As BaseTypeSyntax

Parameters

type
TypeSyntax

Returns

Applies to