DisplayName: String;
DisplayName: string;
The DisplayName property returns the displayed method name.
To execute the example, add a link to the Stat system assembly.
Sub UserProc;
Var
LinR: ISmLinearRegress;
Begin
LinR := New SmLinearRegress.Create;
Debug.WriteLine("External name: " + LinR.DisplayName);
Debug.WriteLine("Internal name: " + LinR.Name);
End Sub Button2OnClick;
After executing the example the console window displays external and internal names for the method.
Imports Prognoz.Platform.Interop.Stat;
…
Public Shared Sub UserProc();
Var
LinR: ISmLinearRegress;
Begin
LinR := New SmLinearRegress.Create();
System.Diagnostics.Debug.WriteLine("External name: " + LinR.DisplayName);
System.Diagnostics.Debug.WriteLine("Internal name: " + LinR.Name);
End Sub;
After executing the example the console window displays external and internal names for the method.
See also: