次の方法で共有


EnumStatementSyntax.WithUnderlyingType(AsClauseSyntax) Method

Definition

Returns a copy of this with the UnderlyingType property changed to the specified value. Returns this instance if the specified value is the same as the current value.

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::EnumStatementSyntax ^ WithUnderlyingType(Microsoft::CodeAnalysis::VisualBasic::Syntax::AsClauseSyntax ^ underlyingType);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumStatementSyntax WithUnderlyingType (Microsoft.CodeAnalysis.VisualBasic.Syntax.AsClauseSyntax underlyingType);
member this.WithUnderlyingType : Microsoft.CodeAnalysis.VisualBasic.Syntax.AsClauseSyntax -> Microsoft.CodeAnalysis.VisualBasic.Syntax.EnumStatementSyntax
Public Function WithUnderlyingType (underlyingType As AsClauseSyntax) As EnumStatementSyntax

Parameters

underlyingType
AsClauseSyntax

Returns

Applies to