(self, runspace, pipeline)
return value
MI: 2
        SHOULD return the version number of the hosting application.
        https://docs.microsoft.com/en-us/dotnet/api/system.management.automation.host.pshost.version

        :param runspace: The runspace the host call relates to
        :param pipeline: The pipeline (if any) that the call relates to
        :return: Version number of the hosting application
MI: 2
        SHOULD return the version number of the hosting application.
        https://docs.microsoft.com/en-us/dotnet/api/system.management.automation.host.pshost.version
MI : 2 SHOULD return the version number of the hosting application . https : // docs . microsoft . com / en - us / dotnet / api / system . management . automation . host . pshost . version
def GetVersion(self, runspace, pipeline):
        """
        MI: 2
        SHOULD return the version number of the hosting application.
        https://docs.microsoft.com/en-us/dotnet/api/system.management.automation.host.pshost.version

        :param runspace: The runspace the host call relates to
        :param pipeline: The pipeline (if any) that the call relates to
        :return: Version number of the hosting application
        """
        meta = ObjectMeta("Version")
        value = runspace.serialize(self.version, meta)
        return value
def GetVersion ( self , runspace , pipeline ) : meta = ObjectMeta ( "Version" ) value = runspace . serialize ( self . version , meta ) return value