CSharpCodeWriter.BuildClassDeclaration 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
BuildClassDeclaration(String, String) | |
BuildClassDeclaration(String, String, IEnumerable<String>) | |
BuildClassDeclaration(String, String, String) |
BuildClassDeclaration(String, String)
public:
Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWritingScope BuildClassDeclaration(System::String ^ accessibility, System::String ^ name);
public Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWritingScope BuildClassDeclaration (string accessibility, string name);
member this.BuildClassDeclaration : string * string -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWritingScope
Public Function BuildClassDeclaration (accessibility As String, name As String) As CSharpCodeWritingScope
參數
- accessibility
- String
- name
- String
傳回
適用於
BuildClassDeclaration(String, String, IEnumerable<String>)
public:
Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWritingScope BuildClassDeclaration(System::String ^ accessibility, System::String ^ name, System::Collections::Generic::IEnumerable<System::String ^> ^ baseTypes);
public Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWritingScope BuildClassDeclaration (string accessibility, string name, System.Collections.Generic.IEnumerable<string> baseTypes);
member this.BuildClassDeclaration : string * string * seq<string> -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWritingScope
Public Function BuildClassDeclaration (accessibility As String, name As String, baseTypes As IEnumerable(Of String)) As CSharpCodeWritingScope
參數
- accessibility
- String
- name
- String
- baseTypes
- IEnumerable<String>
傳回
適用於
BuildClassDeclaration(String, String, String)
public:
Microsoft::AspNetCore::Razor::CodeGenerators::CSharpCodeWritingScope BuildClassDeclaration(System::String ^ accessibility, System::String ^ name, System::String ^ baseType);
public Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWritingScope BuildClassDeclaration (string accessibility, string name, string baseType);
member this.BuildClassDeclaration : string * string * string -> Microsoft.AspNetCore.Razor.CodeGenerators.CSharpCodeWritingScope
Public Function BuildClassDeclaration (accessibility As String, name As String, baseType As String) As CSharpCodeWritingScope
參數
- accessibility
- String
- name
- String
- baseType
- String