Type Contract. Get Interface(String) Method
Returns an interface that is implemented by the current IRemoteTypeContract.
public: System::AddIn::Contract::Automation::IRemoteTypeContract ^ GetInterface(System::String ^ canonicalName);
public System.AddIn.Contract.Automation.IRemoteTypeContract GetInterface (string canonicalName);
abstract member GetInterface : string -> System.AddIn.Contract.Automation.IRemoteTypeContract
Public Function GetInterface (canonicalName As String) As IRemoteTypeContract
The canonical name of an interface that is implemented by the current IRemoteTypeContract.
An IRemoteTypeContract that represents the interface with the specified canonical name that this IRemoteTypeContract implements.
null if this IRemoteTypeContract does not implement an interface with the specified canonical name.
A canonical name is a globally unique name, such as a GUID. 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.