ISerializableObjectContract.GetCanonicalName Method ()

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the canonical name of the type of the object that this ISerializableObjectContract describes.

Namespace:   System.AddIn.Contract
Assembly:  System.AddIn.Contract (in System.AddIn.Contract.dll)

string GetCanonicalName()

Return Value

Type: System.String

The canonical name of the type of the object that this ISerializableObjectContract describes.

The canonical name is a globally unique name, such as a fully qualified type name. Strings in the format <assembly name>, <fully qualified type name> are recommended for managed types. Strings in the format <type library name>, <type name> are recommended for COM types.

Do not change the canonical name for a type after the type is published. Changing the canonical name for a type in a future version of a component breaks compatibility between the component and clients that are already using the type.

.NET Framework
Available since 3.5
Return to top
Show: