共用方式為


ModuleBlockSyntax.AddInherits(InheritsStatementSyntax[]) 方法

定義

public:
 Microsoft::CodeAnalysis::VisualBasic::Syntax::ModuleBlockSyntax ^ AddInherits(... cli::array <Microsoft::CodeAnalysis::VisualBasic::Syntax::InheritsStatementSyntax ^> ^ items);
public Microsoft.CodeAnalysis.VisualBasic.Syntax.ModuleBlockSyntax AddInherits (params Microsoft.CodeAnalysis.VisualBasic.Syntax.InheritsStatementSyntax[] items);
override this.AddInherits : Microsoft.CodeAnalysis.VisualBasic.Syntax.InheritsStatementSyntax[] -> Microsoft.CodeAnalysis.VisualBasic.Syntax.ModuleBlockSyntax
Public Function AddInherits (ParamArray items As InheritsStatementSyntax()) As ModuleBlockSyntax

參數

傳回

適用於