DomainType.GetRelativeName(String, Boolean) 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.
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