TemplatedControlDesigner.GetTemplateContent メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > TemplatedControlDesigner.GetTemplateContent メソッドの意味・解説 

TemplatedControlDesigner.GetTemplateContent メソッド

メモ : このメソッドは、互換性のために残されています。

派生クラスでオーバーライドされると、テンプレートの内容を取得します。

名前空間: System.Web.UI.Design
アセンブリ: System.Design (system.design.dll 内)
構文構文

<ObsoleteAttribute("Use of this method is not recommended because
 template editing is handled in ControlDesigner. To support template editing expose
 template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true). http://go.microsoft.com/fwlink/?linkid=14202")> _
Public MustOverride Function
 GetTemplateContent ( _
    editingFrame As ITemplateEditingFrame, _
    templateName As String, _
    <OutAttribute> ByRef allowEditing As
 Boolean _
) As String
Dim instance As TemplatedControlDesigner
Dim editingFrame As ITemplateEditingFrame
Dim templateName As String
Dim allowEditing As Boolean
Dim returnValue As String

returnValue = instance.GetTemplateContent(editingFrame, templateName, allowEditing)
[ObsoleteAttribute("Use of this method is not recommended
 because template editing is handled in ControlDesigner. To support
 template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
 http://go.microsoft.com/fwlink/?linkid=14202")] 
public abstract string GetTemplateContent (
    ITemplateEditingFrame editingFrame,
    string templateName,
    out bool allowEditing
)
[ObsoleteAttribute(L"Use of this method is not recommended
 because template editing is handled in ControlDesigner. To support
 template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
 http://go.microsoft.com/fwlink/?linkid=14202")] 
public:
virtual String^ GetTemplateContent (
    ITemplateEditingFrame^ editingFrame, 
    String^ templateName, 
    [OutAttribute] bool% allowEditing
) abstract
/** @attribute ObsoleteAttribute("Use of this method is not
 recommended because template editing is handled in ControlDesigner.
 To support template editing expose template data in the TemplateGroups property and call SetViewFlags(ViewFlags.TemplateEditing, true).
 http://go.microsoft.com/fwlink/?linkid=14202") */ 
public abstract String GetTemplateContent (
    ITemplateEditingFrame editingFrame, 
    String templateName, 
    /** @attribute OutAttribute() */ /** @ref */ boolean allowEditing
)
JScript では、値型の引数は参照渡しされません。

パラメータ

editingFrame

内容が取得されるテンプレート編集フレーム。

templateName

テンプレートの名前。

allowEditing

テンプレートの内容を編集できる場合は true。内容が読み取り専用の場合は false。

戻り値
テンプレートの内容。

.NET Framework のセキュリティ.NET Framework のセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
TemplatedControlDesigner クラス
TemplatedControlDesigner メンバ
System.Web.UI.Design 名前空間
その他の技術情報
Web フォームのデザイン時サポート



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

TemplatedControlDesigner.GetTemplateContent メソッドのお隣キーワード

   

英語⇒日本語
日本語⇒英語
   



TemplatedControlDesigner.GetTemplateContent メソッドのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS