CodeDomSerializerBase.GetTargetFrameworkProvider Method
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.
Gets a TypeDescriptionProvider that is aware of the target version of .NET, for use in type filtering.
protected:
static System::ComponentModel::TypeDescriptionProvider ^ GetTargetFrameworkProvider(IServiceProvider ^ provider, System::Object ^ instance);
protected static System.ComponentModel.TypeDescriptionProvider GetTargetFrameworkProvider (IServiceProvider provider, object instance);
protected static System.ComponentModel.TypeDescriptionProvider? GetTargetFrameworkProvider (IServiceProvider provider, object instance);
static member GetTargetFrameworkProvider : IServiceProvider * obj -> System.ComponentModel.TypeDescriptionProvider
Protected Shared Function GetTargetFrameworkProvider (provider As IServiceProvider, instance As Object) As TypeDescriptionProvider
Parameters
- provider
- IServiceProvider
The type description provider service.
- instance
- Object
An object from which the type description provider service can be derived, if provider
is null
.
Returns
A .NET-aware type description provider.
Applies to
Співпраця з нами на GitHub
Джерело цього вмісту можна знайти на GitHub, де також можна створювати й переглядати запитання та запити на внесення змін. Докладні відомості наведено в нашому посібнику для співавторів.