Constructeur ModelFileExtensionAttribute
Creates a new instance of the ModelFileExtensionAttribute class.
Espace de noms: Microsoft.Data.Entity.Design.Extensibility
Assembly : Microsoft.Data.Entity.Design.Extensibility (dans microsoft.data.entity.design.extensibility.dll)
Utilisation
Syntaxe
'Déclaration
Public Sub New ( _
fileExtension As String _
)
public ModelFileExtensionAttribute (
string fileExtension
)
public:
ModelFileExtensionAttribute (
String^ fileExtension
)
public ModelFileExtensionAttribute (
String fileExtension
)
public function ModelFileExtensionAttribute (
fileExtension : String
)
Paramètres
- fileExtension
The file extension for custom files that can be loaded and saved by the 4ccd7ad6-b934-4f7c-82a0-cfd2d4a95faf Entity Data Model Designer .
Notes
In a Visual Studio extension, the ModelFileExtensionAttribute is used when extending the functionality of the Entity Data Model Designer (Entity Designer). Specifically, the ModelFileExtensionAttribute is used to annotate classes that implement the IModelConversionExtension interface. The ModelFileExtensionAttribute constructor accepts a string parameter that specifies the file extension for custom files that can be loaded and saved by the Entity Designer.
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.
Plateformes
Plateformes de développement
Windows XP Édition familiale, Windows XP Professionnel, Windows Server 2003 , Windows Server 2008 et Windows 2000
Plateformes cibles
Voir aussi
Référence
Classe ModelFileExtensionAttribute
Membres ModelFileExtensionAttribute
Espace de noms Microsoft.Data.Entity.Design.Extensibility
Autres ressources
Visual Studio Extensibility Developer Center
Developing Visual Studio Extensions