ModuleBlockSyntax.AddInherits(InheritsStatementSyntax[]) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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
參數
- items
- InheritsStatementSyntax[]