共用方式為


ModuleBlockSyntax.WithImplements 方法

定義

傳回這個 的複本,其中 [Implements] 屬性已變更為指定的值。 如果指定的值與目前的值相同,則傳回這個實例。

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::ModuleBlockSyntax ^ WithImplements(Microsoft::CodeAnalysis::SyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::ImplementsStatementSyntax ^> implements);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ModuleBlockSyntax WithImplements (Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ImplementsStatementSyntax> implements);
override this.WithImplements : Microsoft.CodeAnalysis.SyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.ImplementsStatementSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ModuleBlockSyntax
Public Function WithImplements (implements As SyntaxList(Of ImplementsStatementSyntax)) As ModuleBlockSyntax

參數

傳回

適用於