Share via


DomainType.GetRelativeName(String, Boolean) Method

Definition

Gets the name of the domain type relative to the current namespace. If the current namespace is the same as this.Namespace, then we return this.Name. If not, we return this.GetFullName()

public:
 System::String ^ GetRelativeName(System::String ^ currentNamespace, bool includeGlobal);
public string GetRelativeName (string currentNamespace, bool includeGlobal);
member this.GetRelativeName : string * bool -> string
Public Function GetRelativeName (currentNamespace As String, includeGlobal As Boolean) As String

Parameters

currentNamespace
String
includeGlobal
Boolean

whether or not to prepend 'global::' if the fully qualified name is returned

Returns

Applies to