共用方式為


SyntaxFactory.InheritsStatement 方法

定義

多載

InheritsStatement(SeparatedSyntaxList<TypeSyntax>)

表示 Class、Structure 或 Interface 中的 Inherits 語句。

InheritsStatement(TypeSyntax[])

表示 Class、Structure 或 Interface 中的 Inherits 語句。

InheritsStatement(SyntaxToken, SeparatedSyntaxList<TypeSyntax>)

表示 Class、Structure 或 Interface 中的 Inherits 語句。

InheritsStatement(SeparatedSyntaxList<TypeSyntax>)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

表示 Class、Structure 或 Interface 中的 Inherits 語句。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::InheritsStatementSyntax ^ InheritsStatement(Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeSyntax ^> types);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.InheritsStatementSyntax InheritsStatement (Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax> types);
static member InheritsStatement : Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.InheritsStatementSyntax
Public Shared Function InheritsStatement (types As SeparatedSyntaxList(Of TypeSyntax)) As InheritsStatementSyntax

參數

types
SeparatedSyntaxList<TypeSyntax>

要繼承的類型清單。

傳回

適用於

InheritsStatement(TypeSyntax[])

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

表示 Class、Structure 或 Interface 中的 Inherits 語句。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::InheritsStatementSyntax ^ InheritsStatement(... cli::array <Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeSyntax ^> ^ types);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.InheritsStatementSyntax InheritsStatement (params Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax[] types);
static member InheritsStatement : Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax[] -> Microsoft.CodeAnalysis.VisualBasic.Syntax.InheritsStatementSyntax
Public Shared Function InheritsStatement (ParamArray types As TypeSyntax()) As InheritsStatementSyntax

參數

types
TypeSyntax[]

要繼承的類型清單。

傳回

適用於

InheritsStatement(SyntaxToken, SeparatedSyntaxList<TypeSyntax>)

Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb
Source:
Syntax.xml.Main.Generated.vb

表示 Class、Structure 或 Interface 中的 Inherits 語句。

public:
 static Microsoft::CodeAnalysis::VisualBasic::Syntax::InheritsStatementSyntax ^ InheritsStatement(Microsoft::CodeAnalysis::SyntaxToken inheritsKeyword, Microsoft::CodeAnalysis::SeparatedSyntaxList<Microsoft::CodeAnalysis::VisualBasic::Syntax::TypeSyntax ^> types);
public static Microsoft.CodeAnalysis.VisualBasic.Syntax.InheritsStatementSyntax InheritsStatement (Microsoft.CodeAnalysis.SyntaxToken inheritsKeyword, Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax> types);
static member InheritsStatement : Microsoft.CodeAnalysis.SyntaxToken * Microsoft.CodeAnalysis.SeparatedSyntaxList<Microsoft.CodeAnalysis.VisualBasic.Syntax.TypeSyntax> -> Microsoft.CodeAnalysis.VisualBasic.Syntax.InheritsStatementSyntax
Public Shared Function InheritsStatement (inheritsKeyword As SyntaxToken, types As SeparatedSyntaxList(Of TypeSyntax)) As InheritsStatementSyntax

參數

inheritsKeyword
SyntaxToken

「Inherits」 關鍵字。

types
SeparatedSyntaxList<TypeSyntax>

要繼承的類型清單。

傳回

適用於