ExtensionPointAsyncPackage.CreateExtensionPointProvider<TAttribute,TInterface> Yöntem
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
protected:
generic <typename TAttribute, typename TInterface>
where TAttribute : Microsoft::VisualStudio::Shell::ExtensionPointRegistrationAttribute where TInterface : class TInterface CreateExtensionPointProvider(Guid provider);
protected TInterface CreateExtensionPointProvider<TAttribute,TInterface> (Guid provider) where TAttribute : Microsoft.VisualStudio.Shell.ExtensionPointRegistrationAttribute where TInterface : class;
member this.CreateExtensionPointProvider : Guid -> 'Interface (requires 'Attribute :> Microsoft.VisualStudio.Shell.ExtensionPointRegistrationAttribute and 'Interface : null)
Protected Function CreateExtensionPointProvider(Of TAttribute As ExtensionPointRegistrationAttribute, TInterface As ExtensionPointRegistrationAttribute) (provider As Guid) As TInterface
Tür Parametreleri
- TAttribute
- TInterface
Parametreler
- provider
- Guid
Döndürülenler
- TInterface
İstenen uzantı sağlayıcısı
Özel durumlar
İstenen sağlayıcı bulunamadı
İstenen sağlayıcı, TInterface arabirimini uygulamıyor