Επεξεργασία

Κοινή χρήση μέσω


ISerializableObjectContract.GetCanonicalName Method

Definition

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

public:
 System::String ^ GetCanonicalName();
public string GetCanonicalName ();
abstract member GetCanonicalName : unit -> string
Public Function GetCanonicalName () As String

Returns

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

Remarks

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.

Applies to