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.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om