ISerializableObjectContract.GetCanonicalName 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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort: Gedurende 2024 worden GitHub Issues uitgefaseerd als het feedbackmechanisme voor inhoud. Dit wordt vervangen door een nieuw feedbacksysteem. Ga voor meer informatie naar:Feedback verzenden en bekijken voor