IWinMLEvaluationContext::GetValueByName method (winml.h)

These APIs have been deprecated and should no longer be used:  Please use Windows.AI.MachineLearning instead.

Returns the input/output description for the specific binding name.

Syntax

HRESULT GetValueByName(
  [in]  LPCWSTR            Name,
  [out] WINML_BINDING_DESC **pDescriptor
);

Parameters

[in] Name

The name of the binding.

[out] pDescriptor

A pointer to a WINML_BINDING_DESC containing the specified (Name) binding description.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client Windows 10, version 1803 [desktop apps only]
Minimum supported server Windows Server [desktop apps only]
Target Platform Windows
Header winml.h
Library Winml.lib
DLL Winml.dll

See also

IWinMLEvaluationContext