次の方法で共有


ViewsFeatureProvider.GetViewAttributes(AssemblyPart) メソッド

定義

指定した に関連付けられているインスタンスの RazorViewAttribute シーケンスを取得します assemblyPart

protected:
 virtual System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::Razor::Compilation::RazorViewAttribute ^> ^ GetViewAttributes(Microsoft::AspNetCore::Mvc::ApplicationParts::AssemblyPart ^ assemblyPart);
protected virtual System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute> GetViewAttributes (Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPart assemblyPart);
abstract member GetViewAttributes : Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPart -> seq<Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute>
override this.GetViewAttributes : Microsoft.AspNetCore.Mvc.ApplicationParts.AssemblyPart -> seq<Microsoft.AspNetCore.Mvc.Razor.Compilation.RazorViewAttribute>
Protected Overridable Function GetViewAttributes (assemblyPart As AssemblyPart) As IEnumerable(Of RazorViewAttribute)

パラメーター

assemblyPart
AssemblyPart

AssemblyPart

戻り値

インスタンスの RazorViewAttribute シーケンス。

適用対象