SyntaxFactory.InheritsStatement 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
InheritsStatement(SeparatedSyntaxList<TypeSyntax>) |
表示类、结构或接口中的 Inherits 语句。 |
InheritsStatement(TypeSyntax[]) |
表示类、结构或接口中的 Inherits 语句。 |
InheritsStatement(SyntaxToken, SeparatedSyntaxList<TypeSyntax>) |
表示类、结构或接口中的 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
表示类、结构或接口中的 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
表示类、结构或接口中的 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
表示类、结构或接口中的 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>
要继承的类型的列表。