Partager via


DslLibrary.GetRelativeName(String, Boolean) Method

Definition

Gets the name of the DslLibrary 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 a fully qualfied name is returned

Returns

Applies to