Share via


setProperty Method (WSDLReader)

Other versions of this page are also available for the following:

Windows Mobile Not SupportedWindows Embedded CE Supported

8/28/2008

This method sets the WSDLReader properties.

Syntax

HRESULT setProperty(
  BSTR bstrPropertyName, 
  VARIANT varPropValue
);

Parameters

  • bstrPropertyName
    [in] Name of the property to set. See Remarks for a list of properties.
  • varPropValue
    [in] Property value.

Return Value

The following table describes the common return values.

Value Description

S_OK

Success.

E_NOTIMPL

The function contains no implementation.

E_OUTOFMEMORY

Out of memory.

Remarks

The following property is defined for the Name parameter.

Property Description

LoadOnServer

A Boolean value, True (default) or False, indicating whether to use the WSDLReader object on the server.

When used on the client (the value is set to False), the WSDLReader object does not require you to specify the WSML file.

If you specify the WSML file, this object does not require that only the type mapping entries in the WSML be used.

This property must be set before calling the load method.

Requirements

Header mssoap.h
Library uuid.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

WSDLReader