ConfigurationHelperService.GetSerializeAs(Type) Method
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.
Determines the default serialization mechanism to use for a given type,.
public:
System::Configuration::SettingsSerializeAs GetSerializeAs(Type ^ type);
public System.Configuration.SettingsSerializeAs GetSerializeAs (Type type);
member this.GetSerializeAs : Type -> System.Configuration.SettingsSerializeAs
Public Function GetSerializeAs (type As Type) As SettingsSerializeAs
- type
- Type
The type that is requesting a serializer.
If this type has a TypeConverter that can convert to and from a string, then F:System.Configuration.SettingsSerializeAs.String, otherwise F:System.Configuration.SettingsSerializeAs.Xml.