ConfigurationHelperService::GetSerializeAs Method (Type^)

 

Determines the default serialization mechanism to use for a given type,.

Namespace:   Microsoft.VisualStudio.Shell.Design.Serialization
Assembly:  Microsoft.VisualStudio.Shell.Design (in Microsoft.VisualStudio.Shell.Design.dll)

public:
SettingsSerializeAs GetSerializeAs(
	Type^ type
)

Parameters

type
Type: System::Type^

The type that is requesting a serializer.

Return Value

Type: System.Configuration::SettingsSerializeAs

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.

The same mechanism is used in ApplicationSettingsBase.

Return to top
Show: