TemplateKey Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the TemplateKey class.
Overloads
TemplateKey(TemplateKey+TemplateType) |
Initializes a new instance of the TemplateKey class with the specified template type. This constructor is protected. |
TemplateKey(TemplateKey+TemplateType, Object) |
Initializes a new instance of the TemplateKey class with the specified parameters. This constructor is protected. |
TemplateKey(TemplateKey+TemplateType)
Initializes a new instance of the TemplateKey class with the specified template type. This constructor is protected.
protected:
TemplateKey(System::Windows::TemplateKey::TemplateType templateType);
protected TemplateKey (System.Windows.TemplateKey.TemplateType templateType);
new System.Windows.TemplateKey : System.Windows.TemplateKey.TemplateType -> System.Windows.TemplateKey
Protected Sub New (templateType As TemplateKey.TemplateType)
Parameters
- templateType
- TemplateKey.TemplateType
A TemplateKey.TemplateType value that specifies the type of this template.
Applies to
TemplateKey(TemplateKey+TemplateType, Object)
Initializes a new instance of the TemplateKey class with the specified parameters. This constructor is protected.
protected:
TemplateKey(System::Windows::TemplateKey::TemplateType templateType, System::Object ^ dataType);
protected TemplateKey (System.Windows.TemplateKey.TemplateType templateType, object dataType);
new System.Windows.TemplateKey : System.Windows.TemplateKey.TemplateType * obj -> System.Windows.TemplateKey
Protected Sub New (templateType As TemplateKey.TemplateType, dataType As Object)
Parameters
- templateType
- TemplateKey.TemplateType
A TemplateKey.TemplateType value that specifies the type of this template.
- dataType
- Object
The type for which this template is designed.
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour