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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk