次の方法で共有


PropertyExtensionContext.CreateChangeScope メソッド

Creates an EntityDesignerChangeScope object and sets the string that will appear in the dropdown lists for the Undo and Redo buttons in Visual Studio.

名前空間: Microsoft.Data.Entity.Design.Extensibility
アセンブリ: Microsoft.Data.Entity.Design.Extensibility (microsoft.data.entity.design.extensibility.dll 内)

使用方法

構文

'宣言
Public MustOverride Function CreateChangeScope ( _
    undoRedoDescription As String _
) As EntityDesignerChangeScope
public abstract EntityDesignerChangeScope CreateChangeScope (
    string undoRedoDescription
)
public:
virtual EntityDesignerChangeScope^ CreateChangeScope (
    String^ undoRedoDescription
) abstract
public abstract EntityDesignerChangeScope CreateChangeScope (
    String undoRedoDescription
)
public abstract function CreateChangeScope (
    undoRedoDescription : String
) : EntityDesignerChangeScope

パラメーター

  • undoRedoDescription
    The string that will appear in the dropdown lists for the Undo and Redo buttons in Visual Studio.

戻り値

An EntityDesignerChangeScope object.

解説

In a Visual Studio extension, the CreateChangeScope method initializes an instance of the EntityDesignerChangeScope class. The EntityDesignerChangeScope class allows you to create a unit of work within the extension that can be undone or redone with the Undo and Redo buttons in Visual Studio.

For more information about extending the functionality of the ADO.NET Entity Data Model Tools, see Extending the Entity Data Model Tools and ADO.NET Entity Data Model Designer Extension Starter Kit.

スレッド セーフ

この型の public static (Visual Basic では Shared) メンバーは、スレッド セーフです。インスタンス メンバーの場合は、スレッド セーフであるとは限りません。

プラットフォーム

開発プラットフォーム

Windows XP Home Edition, Windows XP Professional, Windows Server 2003 、Windows Server 2008、および Windows 2000

ターゲット プラットフォーム

参照

リファレンス

PropertyExtensionContext クラス
PropertyExtensionContext のメンバー
Microsoft.Data.Entity.Design.Extensibility 名前空間

その他のリソース

Visual Studio Extensibility Developer Center
Developing Visual Studio Extensions